Hi I need to bind my datasource to ultragrid.
Assume my datatable got 4 colums col1, col2 col3 and col4(Title).
Need a code sample to show my ultragrid as below when it loaded(without dragging column to show group by)
col1 clo2 clo3
Title 1
x1 y1 z1
x2 y2 z3
Title 2
x3 x4 x5
Thanks
Rajesh...
Rajesh,
Simply add the column to the SortedColumns collection of the band, specifying that the column should be grouped, such as:
this.ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Add("col4", false, true);
-Matt
Matt
I tried that but it shows repeated columns in each group and with collapsed buttons.
I want to show the columns on top and dont want to repeat in each group and it should be expandable and dont want show the collapse and expand button for the group.
Rajesh..