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.
Thanks for your help so far. I would like to know if there is a way to customise the columns of an extra section so that they match the columns in the rest of the grid. For example, I have a column that has a datasource assigned to it when the column is added (i.e. once). At the moment, to assign the datasource to the extra section, I am doing it in QueryCellStyleInfo. But I want to avoid doing this over and over again repeatedly. Is there a way I can get the extra section columns to match the column properties of the table without using QueryCellStyleInfo?
HAhaneefm Syncfusion Team May 29, 2007 11:58 PM UTC
Hi Mitual,
By default, GroupingGrid doesn't store any style info properties. You can not set any cell or row specific properties for the GroupingGrid other than the CellValue. But you can set the Column specific properties except extra section column by using the GridColumnDescriptor. You need to handle the TableControlPrepareViewStyleInfo (or QueryCellStyleInfo) event to do this. Through this event you can set the style properties for the grid.
In which case, can you tell me which of QueryCellStyleInfo and TableControlPrepareViewStyleInfo are called LESS often?
>Hi Mitual,
By default, GroupingGrid doesn't store any style info properties. You can not set any cell or row specific properties for the GroupingGrid other than the CellValue. But you can set the Column specific properties except extra section column by using the GridColumnDescriptor. You need to handle the TableControlPrepareViewStyleInfo (or QueryCellStyleInfo) event to do this. Through this event you can set the style properties for the grid.
HAhaneefm Syncfusion Team May 30, 2007 08:28 PM UTC
Hi Mitul,
QueryCellStyleInfo is hit whenever the grid needs a cell style for any reason. But TableControlPrepareViewStyleInfo is hit whenever the grid prepares a cell style for drawing. So you can try handling the QueryCellStyleInfo event to resolve the problem and let me know if this helps.