>Is there any way to display a grid sorted by column - dynamically. I'm changing jobs shortly and don't want to generate too much code on this project as it may be too much for the remaining people here to cope with. I need to be able to say something like grdSample.Column1.Sort() or something similar.
Hi Nigel,
Create an index tag for each ordering that you want. Put code in the click event of each header object of your grid that changes the current index order. Unfortunately you can't subclass the header class so you will have to insert the code manually. Now each time that the user clicks on a new header the grid will reorder.
Hope this helps,
Ned Ames
Ned
Reality is.