Hi,
I need to know whether we can eliminate the last row from sorting while the column header is clicked using mouse.
Regards,
Ceaser
Ceaser,
You could try cancelling the BeforeSortChange event of the grid, checking to see if the last column is contained in the SortedColumns collection passed into the event handler.
-Matt
I just noticed that I misread your question in that I thought you wanted to prevent one of the columns from being sorted when you click on its header. What do you mean by "eliminate the last row from sorting"?