Changing datagrid row order
Posted: Tue May 31, 2011 3:45 pm
How would I attempt to change the order of a row in a datagrid?
Example: I have a list of items that are populated from a database. Lets say I want to change
the order of them so they display in the exact order I want them on the datagrid. I would like
to do this by selecting the row and pressing down the CONTROL and arrow up/down key.
How could I accomplish something like this? My long term goal is to have a field in database
that controls the display order so I can save this ordering change on a more permanent basis
so next time the datagrid loads it will be in the order expected.
Example: I have a list of items that are populated from a database. Lets say I want to change
the order of them so they display in the exact order I want them on the datagrid. I would like
to do this by selecting the row and pressing down the CONTROL and arrow up/down key.
How could I accomplish something like this? My long term goal is to have a field in database
that controls the display order so I can save this ordering change on a more permanent basis
so next time the datagrid loads it will be in the order expected.