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.
Hello Peter,
Let me know if you have further questions regarding this.
LyubaDeveloper Support EngineerInfragisticswww.infragistics.com/support
Thanks, that did the trick.
it doesn't work because "get_rowIslands" is not recognized.
VS2010 infragistics v4
In Code Behind :
protected void hdgLogs_RowIslandDataBinding(object sender, Infragistics.Web.UI.GridControls.RowIslandEventArgs e) {
this.hdgLogs.GridView.Behaviors.Sorting.SortedColumns.Add("DteFin", Infragistics.Web.UI.SortDirection.Descending);
}
It will works if i click on DteFin column but on the first page load the column is not sorted ... even if it seems to be !