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.
Hi, I want to fit the collumn-width when the user double-clicks on the header of the grid. So far I use this code: private void gridControl1_ResizingColumns(object sender, GridResizingColumnsEventArgs e) { if (e.Reason == GridResizeCellsReason.DoubleClick) { if (e.Columns.IsCols == true) { gridControl1.ColWidths.ResizeToFit(e.Columns); } } }
But this code does not work. What's wrong? Thank you, Dan