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

GridListControl width

Thread ID:

Created:

Updated:

Platform:

Replies:

13962 May 14,2004 06:23 AM UTC May 14,2004 12:41 PM UTC WinForms 1
loading
Tags: GridControl
Eddy Poullet
Asked On May 14, 2004 06:23 AM UTC

Hi, On a form, I have a comboboxbase that works with a gridlistcontrol (arraylist). 1 - How can I display the gridlistcontrol with a width greater than the comboboxbase and 2 - also avoid the horiz. scrollbar to be displayed ? Thanks, Eddy Suite Vers. 2.0.5.1

Administrator [Syncfusion]
Replied On May 14, 2004 12:41 PM UTC

This code works in the sample, Grid\Samples\Quick Start\ComboBoxBaseGridDemo, to set the width of the dropdown.
private void comboBoxBase1_DropDown(object sender, System.EventArgs e)
{
	this.textLog.Text += "Event: DropDown\r\n";
	this.comboBoxBase1.PopupContainer.Width = this.gridListControl1.Grid.Model.ColWidths.GetTotal(0, this.gridListControl1.Grid.Model.ColCount) + 4 + SystemInformation.VerticalScrollBarWidth;
}
>/pre> 

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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;