I want to change the editor formOptions main.onBackground to none or blur depending on logic after initializing. Is this supposed?
Never mind, it just couldn't find an example. I found out a way:
editor = new $.fn.dataTable.Editor( { formOptions: { main: { onBackground: function(editor, el){ if( MY_LOGIC ) return false; else editor.close(); } } },
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Never mind, it just couldn't find an example. I found out a way: