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 am using 1.6.1.8 DataBoundGrid. When I double click between two column headers, grid is automatically resizing the column based on visible rows only. How can I change it to resize the column based on all rows of the grid (like in Excel)?
thanks,
- Reddy
ADAdministrator Syncfusion Team February 16, 2004 03:03 PM UTC
Handle the ResizingColumns event, and if e.Reason is DoubleClick, then call grid.Model.ColWidths.ResizeToFit passing e.Columns. Then set e.Cancel = true.