Hi, friends,
In a VC# app, I have a DataGrid with DataTable as its SourceData. This
DataTable has a ColumnStyle collection for each field. In Form_Load event, I
set
myDataGrid.AllowSorting = false;
However, after filling up data, I can still sort each column.
Any ideas? Thanks a lot.
Imran Koradia - 29 Oct 2004 18:53 GMT
This shows how you can do it for one column:
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q1083q
Just remove the check for column number and it will disable sorting for all
the columns.
hope that helps..
Imran.
> Hi, friends,
>
[quoted text clipped - 7 lines]
>
> Any ideas? Thanks a lot.
Andrew - 29 Oct 2004 19:28 GMT
Thanks a lot....
> This shows how you can do it for one column:
> http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q1083q
[quoted text clipped - 17 lines]
> >
> > Any ideas? Thanks a lot.