Closed gildonei closed 8 years ago
DataTablesHelper uses json to communicate options with datatables so it is not possible to pass javascript functions through init()
.
My pull request #13 is very related to this. If you apply #13, you can write your custom js function somewhere else and let it be called after initialization. In your js you can add the callback. I haven't tried that yet though.
Have a look at #14
Thanks!
how could I use callback function like "rowCallback" - https://datatables.net/examples/server_side/select_rows.html - on $this->DataTables->init([...