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.
Hello,
I am trying to set the wifth of a column in a GridDataBoundGrid. Can this be achieved?
The problem is that for the combobox cells the arrow overlaps the text the menu contains, so I need to make the column a liitle wider...
Can u help me ?
ADAdministrator Syncfusion Team July 1, 2003 09:22 PM UTC
To explicitly set the width of a column in a GridDataBoundGrid, use code like
this.grid.AllowResizeToFit = false;
this.grid.Model.ColWidths[2] = 100;
You need the first line otherwise the grid will try to autosize things based on the header text and this will interfere with your sizing.