Hi,
I have the grid bound to a class. Is there a way to flag a particular property in the class to be the one that the grid should sort by, by default? What is the default sort behaviour of the grid?
Thanks,
Scott
Hi Scott,
The grid doesn't so any sorting by default, it will display the data in the order it is provided by the data source.
If you want to sort the grid by default, I would recommend using the InitializeLayout event of the grid and set the SortIndicator on the column you want sorted.
Or, you could sort your data in the data source itself before binding to the grid.