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. Image for the cookie policy date
close icon

Heirarchial Grid - "Limit to List" for Combobox

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);

1 Reply

AD Administrator Syncfusion Team October 27, 2005 12:16 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon