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 July 21, 2004 02:28 PM UTC
Hi Bhandhavi,
you can handle the GroupExpanding event and cancel the operation there as shown in code below
this.groupingGrid1.GroupExpanding += new GroupEventHandler(groupingGrid1_GroupExpanding);
private void groupingGrid1_GroupExpanding(object sender, GroupEventArgs e)
{
// work around for now:
throw new Exception();
// in future:
// e.Cancel = true;
}
I noticed that with the current version the e.Cancel property is not checked. That''s why you have to throw an exception.
In future builds you will be able to simple set e.Cancel = true. I added support for checking this property in the grid.grouping source code.
Stefan