Hi
I am using CustomDropdownRender class to achieve CustomDropDown .
// Registering the cell model
this.grid.Model.CellModels.Add("CustomDropDown", new CustomeDropDownCellModel());
// Binding the celltype
var dropdown1 = this.grid.Model[7, 2];
dropdown1.CellType = "CustomDropDown";
dropdown1.ItemsSource = new List<string> {"Hi", "Hello", "Welcome"};;
dropdown1.DisplayMember = "Text";
dropdown1.DropDownStyle = GridDropDownStyle.AutoComplete;
Problem Statement :
For the firstTime , If I single CLick on the cell , and enter any number For Example "9". DropDown accepts this number, However this problem is faced only during first Time
. Since DropDownStyle => AutoComplete and text anything apart from Collection should not be accepted.
I have attached screenshot for ur reference,
Please do the needful ASAP.
Attachment:
CustomDropdownValue_ceac6a32.zip