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.
RCRajadurai C Syncfusion Team January 28, 2009 10:38 AM UTC
Hi Sameer,
Thanks for your interest in Syncfusion products.
The row numbers in gridgroupingcontrol can be displayed by handling QueryCellStyleInfo event with the following code: void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e) { if (e.TableCellIdentity.ColIndex == 0 && e.TableCellIdentity .RowIndex >3) { e.Style.CellType = "Header"; e.Style.Text = e.TableCellIdentity.RowIndex.ToString (); } }
Regards, Rajadurai
SKSameer KhanJanuary 28, 2009 10:30 PM UTC
How do I make the size of this column such that it is wide enough for the row numbers.
I tried handling QueryColWidth event; it increased the size of the row number column; but chopped off the last column's size.
-s
>Hi Sameer,
Thanks for your interest in Syncfusion products.
The row numbers in gridgroupingcontrol can be displayed by handling QueryCellStyleInfo event with the following code: void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e) { if (e.TableCellIdentity.ColIndex == 0 && e.TableCellIdentity .RowIndex >3) { e.Style.CellType = "Header"; e.Style.Text = e.TableCellIdentity.RowIndex.ToString (); } }
Regards, Rajadurai
RCRajadurai C Syncfusion Team January 29, 2009 12:40 PM UTC
Hi Sameer,
You can set the size of the row number column through the following code. this.gridGroupingControl1.TableOptions.RowHeaderWidth = 20;