View Full Version : Sort Datagrid Programmatically
05-24-2010, 06: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, 05: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-26-2010, 12:53 AM
Here is a working example from another post awhile back.
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.