DropDown behavior in a ComboBox celltype

Guys, I have a requirement where whenever the user click (anywhere in the cell) or start typing in a combobox cell the dropdown list should be shown. Any idea on how can I accomplish this? TIA Jose

1 Reply

AD Administrator Syncfusion Team November 4, 2003 03:45 PM UTC

You can try handling CurrentcellStartEditing, and drop the combobox there. Here is code that drops combos in column 3. bool inDrop = false; //avoid recursive call private void dataBoundGrid1_CurrentCellStartEditing(object sender, CancelEventArgs e) { GridCurrentCell cc = this.dataBoundGrid1.CurrentCell; if(cc.ColIndex == 3 && !inDrop) { inDrop = true; cc.ShowDropDown(); inDrop = false; } }

Loader.
Up arrow icon