How to execute a function from an external class from an editor event
How to execute a function from an external class from an editor event
how to execute a php function from another class (included in the main page) from an editor event:
something similiar to below :
->on('postEdit', function ($editor, $id, $values, $row) {
$myclass->$myfunction($myparam);
}
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
This question has an accepted answers - jump to answer
Answers
If that is required at all. Just give it a try. You can also use "global".
Thanks