AD
Administrator
Syncfusion Team
February 12, 2003 11:26 PM UTC
Use the following code:
GridComboBoxCellRenderer cr = grid.CellRenderers[
ComboBox"] as GridComboBoxCellRenderer;
((GridComboBoxListBoxPart)cr.ListBoxPart).DropDownRows = nItems;
GridDropDownGridListControlCellRenderer cr = grid.CellRenderers[
GridListControl"] as GridDropDownGridListControlCellRenderer;
((GridDropDownGridListControlPart)cr.ListControlPart).DropDownRows = nItems;
nItems is the number of dropdown rows you want to be visible.
Stefan
RB
Renzo Bauen
February 13, 2003 08:50 PM UTC
Thanks, this works fine!
Renzo