R
rusmo1
I have a GridvVew in which all of the columns are sortable. I want the
first column to display the position of the row in the sorted order
regardless of which column I've sorted or which direction it is
currently sorted. This "rank" column should always display like so:
1
2
3
4
5
etc...
Programmatically, the problem I'm having is that the value of row[row
number x][column number y] needs to change each time the table is
sorted. I'm starting with a DataTable filled by a database query, if
that helps. I feel like there should be an easy way to do this but I
haven't run across it anywhere.
Thanks in advance for any suggestions!
Will.
first column to display the position of the row in the sorted order
regardless of which column I've sorted or which direction it is
currently sorted. This "rank" column should always display like so:
1
2
3
4
5
etc...
Programmatically, the problem I'm having is that the value of row[row
number x][column number y] needs to change each time the table is
sorted. I'm starting with a DataTable filled by a database query, if
that helps. I feel like there should be an easy way to do this but I
haven't run across it anywhere.
Thanks in advance for any suggestions!
Will.