View Full Version : Sort Datagrid Programmatically
05-24-2010, 05:12 PM
I am looking for a way to sort a datagrid programmatically, at startup, using the columns' datafield.
Anyone that has experience with that ?
05-25-2010, 04:42 PM
Datagrids are data driven. Sort the data and refresh the grid is the usual approach.
Sometimes you need to match a selection on the grid to the data before making a sort, but its not clear that this is what you want to do.
05-25-2010, 11:53 PM
Here is a working example from another post awhile back.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.