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

Custom Drop Down Autocomplete Issue

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

1 Reply

JN Jayaleshwari N Syncfusion Team July 3, 2015 01:05 AM UTC

Hi Basavaraj,

Thank you for using Syncfusion Product.

We have analyzed your reported issue  and we are not able to reproduce the reported issue “If I single Click on the cell , and enter any number For Example "9". Based on your code snippet, we have prepared a sample to reproduce the reported issue and you can download that sample from following location.

Sample location : CustomDropDown

Could you please share more information on reported issue like modifying the above sample to us? It would be helpful for us to provide a better solution.

Regards,

Jayaleshwari N

Loader.
Live Chat Icon For mobile
Up arrow icon