Hi,
I am using GridDataControl.
I want to provide grouping for Columns in the XAML.
I tried this
<syncfusion:GridDataControl.GroupedColumns>
<syncfusion:GridDataGroupColumn ColumnName="Role"/>
</syncfusion:GridDataControl.GroupedColumns>
I want to know if its possible to provide conditional grouping. Particularly I want to display the group header only if there are more than one items in that group.
So for example
|
Name |
ID |
Department |
Role |
Role: Manager - 1 Items |
|
William |
3 |
Sales |
Manager |
Role: Analyst - 3 Items |
|
|
Alex |
34 |
Sales |
Analyst |
|
Bob |
35 |
Sales |
Analyst |
|
Chris |
36 |
Sales |
Analyst |
Should look like :-
|
Name |
ID |
Department |
Role |
|
William |
3 |
Sales |
Manager |
Role: Analyst - 3 Items |
|
Alex |
34 |
Sales |
Analyst |
|
Bob |
35 |
Sales |
Analyst |
|
Chris |
36 |
Sales |
Analyst |
Please advise on how this can be achieved.
I could achieve this in WPF DataGrid.