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 have defined a cell in a grid, like this:
DataTable dt = new DataTable();
dt.Columns.Add( "Value" );
dt.Columns.Add( "Description" );
dt.Rows.Add( new object[] { "1", "A" } );
dt.Rows.Add( new object[] { "2", "B" } );
dt.Rows.Add( new object[] { "3", "C" } );
dt.Rows.Add( new object[] { "4", "a very long description" } );
gridControl1[1,3].CellType = "GridListControl";
gridControl1[1,3].DataSource = dt;
gridControl1[1,3].DisplayMember = "Value";
When the text in some of the cells in the grid that appears in the dropdown is very long, the dropdown becomes very large.
How can I set the size of the columns displayed in the dropdown grid?
Thanks.
Raul
ADAdministrator Syncfusion Team September 7, 2005 01:57 PM UTC
Here is a forum thread that shows how to hide columns/size columns in a GridListCOntrol dropdown.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=19403