If you want to sort a datagrid, then you will have to sort the data
source that the grid is displaying. If you set the source of the DataGrid
to a DataTable, it uses the DataView exposed by the DefaultView property on
the DataTable class. You can set the Sort property on this DataView and the
grid that is attached to it will be sorted accordingly.
That's not true at all. Sorting a datagrid client side is very doable. I
agree that it is probably not the norm and probably not worth the effort but
still, it can be done.
I was supposed to say also that sukesh MVP at http://www.v4cnet.com/contact.htm demonstrates this client side sorting but
i forgot to include a link
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.