Hello,
I am attempting to write code to sort the grid using an IEnumerable object as the data source.
Basically, I just get the column that the user is sorting by and perform an ORDER BY on my IEnumerable object and then rebind it to the grid.
The issue I am running into is that when I do it this way, the arrows in the column header that denote the sort direction (ascending, descending) do not appear.
Is there a way in which I can manually get the arrows to appear?
Thanks,
Dave
I am attempting to write code to sort the grid using an IEnumerable object as the data source.
Basically, I just get the column that the user is sorting by and perform an ORDER BY on my IEnumerable object and then rebind it to the grid.
The issue I am running into is that when I do it this way, the arrows in the column header that denote the sort direction (ascending, descending) do not appear.
Is there a way in which I can manually get the arrows to appear?
Thanks,
Dave