Datagrid sorting problem

minn

Active member
Joined
Apr 10, 2006
Messages
37
Programming Experience
Beginner
Hello,

I have setup sorting on my datagrid. However, all columns of the datagrid sort fine except the buttoncolumn of the grid. The button is there to show users more information for the clicked row, however, because it does not sort along with the rest of the datagrid, it shows the incorrect information thinking that the rows are in the same order as when the grid first loaded on the page.

Does anyone have any ideas why this happens and how to resolve the problem?

Thanks in advance
 
I have worked out that the buttoncolumn of my grid is not sorting when the rest of the datagrid sorts because in my sort event handler, i am doing my sort via a select statement with an order by. My button column does not respond to this.

How do i get my button column to sort with the rest of the grid?
 
Back
Top