This is a follow-up to this select control question
I understand why the select control's list does not stay open. In the table's click event handler, there are business rules that must pass before Editor
goes into inline
mode.
This is my simplified code:
$('#TVM').on('click', 'tbody td:not(:first-child)', function (e) {
if (editor.display()) {
editor.blur(); // !important, assure editor is closed and submitted
}
var d = table.row(selectedRow).data(); // get current row data
/// test conditions, and
if (rulesPass) {
editor.inline(this); // go into edit mode --- but select list is not open
}
});
Is there a way, if the editor is a select control, to go into edit mode and have the select list open?
Thanks.