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've a GGC and want to sort the column by single clicking on the header and resize the column to fit to the content when doubleclicking on the header.
At the moment I'm using the following code:
private void gridGroupingControl_TableControlCellDoubleClick(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellClickEventArgs e) { this.gridGroupingControl.Enabled = false; //MY CODE TO OPEN THE CURRENT ITEM this.gridGroupingControl.Enabled = true; }
What happens is, that when I'm single clicking on the header the grid is sorting correctly but when I'm doubleclicking, an item is opening.
Can you help me in: *) How to avoid opening an item when doubleclicking on the header. *) How to fit the column width when doubleclicking on the header.