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.
Up arrow icon