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.
ADAdministrator Syncfusion Team January 29, 2007 02:42 PM UTC
i figured out how to do it. thanks. yet i have another questions--How to programatically expand/collapse a particular group, once a GroupCaptionCell is single clicked. below is my partial code. thanks.
private void TableControl_CellClick(object sender, GridCellClickEventArgs e) { Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfo ci = this.gridGroupingControl1.TableModel[e.RowIndex, e.ColIndex]; if ( ci.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionCell ) { //How to do it? } }
ADAdministrator Syncfusion Team January 29, 2007 06:55 PM UTC
Hi,
Please try this
Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfo ci = this.gridGroupingControl1.TableModel[e.RowIndex, e.ColIndex]; if ( ci.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionCell ) { Element ell = ci.TableCellIdentity.DisplayElement; if(ell.ParentGroup != null) el.ParentGroup.IsExpanded = true; }
Best Regards, Haneef
ADAdministrator Syncfusion Team January 29, 2007 10:03 PM UTC