Completed
Last Updated: 18 Jun 2019 13:54 by ADMIN
ADMIN
Stefan Nenchev
Created on: 15 Dec 2015 12:37
Category: GridView
Type: Bug Report
2
GridView: Columns order not correct when saved/loaded with PersistenceFramework

When loading the columns from a file the columns are read in the order they are found in the Columns collection of RadGridView upon saving them.
Setting the DisplayIndex triggers the internal grid logic that ensures the DisplayIndex of each column is correct. 
The combination of the above two operations can cause the grid to invalidate the DisplayIndex of columns while deserializing them and thus setting invalid values.
To ensure correct behaviour when deserializing sort the columns by their display order property before returning them in ProvideValue()
2 comments
ADMIN
Stefan
Posted on: 09 Jan 2017 09:23
Hi Shrinand,

please make sure to use the Like button on top-right to cast a vote for this case. The more likes a case has, the higher it gets in our to-do list.
Shrinand
Posted on: 06 Jan 2017 16:10
please fix, this bug is creating lots of confusion for our users