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.
I am looking for the below things.Can someone please advise.
1. How to change the child's table header row size. 2. How to apply a conditional formatting on just the cell that meets the criteria and not the entire row.eg we can have a conditional format but it allows only to change the appearance of anyrecord field cell.Whereas i am more interedted in doing just for the cell that meets the filter criteria. 3. on disable the cells for editing i am not able to navigate through columns using right/left arrow key.I would ideally like the grid to be not editable but still be able to navigate through the cells.
JJJisha Joy Syncfusion Team February 23, 2009 06:25 AM UTC
Hi Gurtaran,
Issue 1: Row Height
By default resizing of individual rows is not supported in GridGroupingControl. But the desired behavior can be achieved by using a CustomEngine. Please refer the following sample in our sample browser ..\\My Documents\Syncfusion\EssentialStudio\{version number}\Windows\Grid.Grouping.Windows\Samples\2.0\FeaturedSamples\ResizableRows\cs
This sample demonstrates the features of re-sizing individual rows in the grid. It also illustrates how to implement the "IGridRowHeight" interface and it's routines for getting and setting row heights for elements.
Issue 2: Apply styles to individual cells
In GridGroupingControl you need to handle either QueryCellStyleInfo or PrepareViewStyleInfo for applying styles at cell level. Please see the code:
this.gridGroupingControl1.QueryCellStyleInfo += new Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventHandler(gridGroupingControl1_QueryCellStyleInfo); this.gridGroupingControl1.TableControl.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(TableControl_PrepareViewStyleInfo);