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.

Heirarchial Grid - "Limit to List" for Combobox

Thread ID:





36331 Oct 26,2005 07:09 PM Oct 26,2005 08:16 PM Windows Forms 1
Tags: GridControl
Damien Sawyer
Asked On October 26, 2005 07:09 PM

Hi, I have a combobox in a heirarchial grid, bound to a data source. Could somebody please tell me the easiest way to make it ''limit to list?'' so that the user can only select items from the datasource. Thanks very much. Damien GridColumnDescriptor gcd = new GridColumnDescriptor(pi2.Name..... etc gcd.Appearance.AnyRecordFieldCell.CellType = "ComboBox"; gcd.Appearance.AnyRecordFieldCell.DataSource = Application.CancellationReasons; this.grOrd.TableDescriptor.Columns.Add(gcd);

Administrator [Syncfusion]
Replied On October 26, 2005 08:16 PM

You set the DropDownStyle property. gcd.Appearance.AnyRecordFieldCell.DropDownStyle = GridDropDownStyle.Exclusive;


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.