Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2116
Is it possible to move grid's column in code...
posted

This code worked in the previous version of the toolset, ie. before 11.2 but doesn't seem to work now.

Dim newPosition As integer = 3

ProductsDataGrid.DefaultFieldLayout.Fields.Move(ProductsDataGrid.DefaultFieldLayout.Fields("base_rate").Index, newPosition)

 

I fire the code above on a button click as a test.

The columns stay in their current position.