I've tried this:
But it still uses the default sorting that's defined in the markup. Any way to do this?Code:grid.Store.Primary.SortInfo.Field = "somefield"
grid.Store.Primary.SortInfo.Direction = Ext.Net.SortDirection.DESC
Printable View
I've tried this:
But it still uses the default sorting that's defined in the markup. Any way to do this?Code:grid.Store.Primary.SortInfo.Field = "somefield"
grid.Store.Primary.SortInfo.Direction = Ext.Net.SortDirection.DESC
Hi,
Please use
Code:Store1.SetDefaultSort("field", Ext.Net.SortDirection.ASC);
I've found that this also works:
What's the difference?Code:Store1.Sort("field", Ext.Net.SortDirection.ASC)