The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
With GridDataBoundGrid the expand/collapse column ( the one with +/- button) used to have its separate column with column header. Now in GridGroupingControl there doesnot seem to be any column header for that column.
The problem is i need provide a feature of collapseAll/ExpandAll through a +/- displayed on the column header. What is the neat way of doing it?? do i have to do drawing in that column.
ADAdministrator Syncfusion Team September 16, 2004 02:42 PM UTC
Hi Naveed,
with the GridGroupingControl the ColumnHeader cell on top of the indent column with +/- cells will be made a covered range that spans the first column and any indent cells before.
If you want to change this behavior and not make the column header become a covered range, you could try and handle the groupingControl.TableModel.QueryCoveredRange event.
In your handler you could check if
Table.DisplayElements[e.RowIndex] is ColumnHeaderRow and if that is the case set e.Handled = true so that the default covering for column header cells will not take place.
Stefan