anterosousa,
There is no need to do this. If you bound the DataTable to the grid,
then check the DefaultView property, and set the DataView's Sort property to
the column you want to sort the grid by. This will cause the grid, in turn,
to update itself as a result of the sort.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"anterosousa" <pe*************@gmail.comwrote in message
news:11*********************@i42g2000cwa.googlegro ups.com...
Is there a way I can send a click event to a datagrid. I want to
simulate a
user clicking on a heading to sort the display.