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(); } } },
Answers
Never mind, it just couldn't find an example. I found out a way: