Dear all,
I have done below but it still does not work.
this.dtgList.DisplayLayout.Bands[0].SortedColumns.Add("VARIATION_NAME", true);
or
this.dtgList.DisplayLayout.Bands[0].Columns["VARIATION_NAME"].SortIndicator = SortIndicator.Descending;
What is the DataType of the VARIATION_NAME column in the grid?
In what event are you calling this code?
What version of the grid are you using?
(1) DataType = String
(2) When assigning to ultragrid1.datasource, I added the code after datasource to add sorted columns.