Author Topic: Custom Editor - Dropdown  (Read 1617 times)

mmvaishnav

  • Newbie
  • *
  • Posts: 1
    • View Profile
Custom Editor - Dropdown
« on: August 11, 2017, 05:03:56 pm »
Hi,

I would like to use a dropdown column that allows user to add a custom option if not present in the dropdown. Here are the steps i followed in order to achieve this.

1. On row click, get the getEditCell
2. find a select and attach a change event
3. on change, check user has selected "Enter Custom Value" then remove select and append a textbox.
4. On textbox focusout, i am calling "saveEditCell" but after that user is not able to click on that cell until he click on some other field and come back to the same.