We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

resize the columns of the grid of a GridListControl cell

Thread ID:





34277 Sep 7,2005 12:23 PM UTC Sep 7,2005 01:57 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On September 7, 2005 12:23 PM UTC

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

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon