How disable sorting feature of DataGrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Back
Top