Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1185
Set default column sort for grid bands
posted

I want each band in the grid to have a default column sort set as soon as it opens. I tried using the Band_initialize event server side with:

e.Band.Behaviors.Sorting.SortedColumns.Add("ActionNo", Infragistics.Web.UI.SortDirection.Ascending);

but I get an error internal to the grid (object not set). Am I doing this incorrectly, and is there a javascript method to do this client side then?

I have a three level grid, and need a specific column sorted in each band.