Reputation: 2936
I want to show sort icon on one column when datagrid loads but it displays after user clicks on one of the column. Is there any way to do that.
Thanks,
Upvotes: 0
Views: 74
Reputation: 41099
I have to guess since you show no code, but it's possible you never told your Datagrid which column to use for sorting upon loading data. You should call
myDataGrid.getColumnSortList().push(myColumn);
Upvotes: 2