Hi,
I am binding my grid to a sorted view which is sorted on column A in Ascending order like this:
DataTable1.DefaultVew.Sort = "A ASC";
RadGrid1.Datasource = DataTable1.DefaultView.ToTable();
The grid should look like this as the sorting is done by col A:
A (datetime) B(string) C(string)
10 AM xxx Meeting
11 AM xxy Call
2 PM xyx Project
3 PM zxx Appointment
Somehow after I bind the grid the sorting is changing to be sorted in Ascending order by col C.The grid is being rendered as:
A (datetime) B(string) C(string)
3 PM zxx Appointment
11 AM xxy Call
10 AM xxx Meeting
2 PM xyx Project
I have allowsorting set to false for the grid.
Could you tell me what's wrong here.
I am binding my grid to a sorted view which is sorted on column A in Ascending order like this:
DataTable1.DefaultVew.Sort = "A ASC";
RadGrid1.Datasource = DataTable1.DefaultView.ToTable();
The grid should look like this as the sorting is done by col A:
A (datetime) B(string) C(string)
10 AM xxx Meeting
11 AM xxy Call
2 PM xyx Project
3 PM zxx Appointment
Somehow after I bind the grid the sorting is changing to be sorted in Ascending order by col C.The grid is being rendered as:
A (datetime) B(string) C(string)
3 PM zxx Appointment
11 AM xxy Call
10 AM xxx Meeting
2 PM xyx Project
I have allowsorting set to false for the grid.
Could you tell me what's wrong here.