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.
Unfortunately, activation email could not send to your email. Please try again.

resize the columns of the grid of a GridListControl cell

Thread ID:

Created:

Updated:

Platform:

Replies:

34277 Sep 7,2005 08:23 AM Sep 7,2005 09:57 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 7, 2005 08:23 AM

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 09:57 AM

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

CONFIRMATION

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.

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.

;