DataTables Editor with select auto expand

DataTables Editor with select auto expand

whuangwhuang Posts: 9Questions: 5Answers: 0

Hi,

I have a datatables editor with select dropdown list and all is working fine. Now the user would like to have the select dropdown list to be pre-open when click the inline editing cell as they want to eliminate an extra mouse click here (right now they have to click the cell, then click to expand the dropdown then click to select the option).

Is it possible?

Thanks,

Answers

  • allanallan Posts: 61,971Questions: 1Answers: 10,160 Site admin

    It doesn't look like it is possible to synthetically cause the dropdown to show automatically I'm afraid.

    You could probably use Select2 or Selectize though, which will over API methods to do that. The Editor plug-ins for them are available here. You'd need to refer to their respective API documentation to see how to trigger them automatically.

    Allan

This discussion has been closed.