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
close icon

Text for drop down is not being cleared

I validate the value once the user entered a value or selected a value from the drop down (ie 1 to 100).  If the user enter 9999, I get the callback and I call BeginEdit() and change the value to 100 by calling SetValue().  When the user click on the dropdown again, the value 9999 will show on the text box, how do I clear it? or set the text value to 100.








2 Replies

TL Tuan Lam August 18, 2014 06:45 AM UTC

I fixed the issue by changing ControlText of the control on TableControlCurrentCellShowingDropDown() event.  Maybe you have a better way of doing it.







NK Neelakandan Kannan Syncfusion Team August 18, 2014 12:32 PM UTC

Hi Tuan,

 

Thank you for your interest in Syncfusion products.

 

As per your last update you are using TableControlCurrentCellShowingDropDown() to customize the DropDownCell. The mentioned way is the better way to customize the dropDownCell. We request you to use CurrentCellShowingDropDown event to customize the cell when dropdown button is pressed.

 

Please let me know if you have further concerns.

 

Regards,

Neelakandan


Loader.
Live Chat Icon For mobile
Up arrow icon