So.. i setup an editor overlay tied to a button "Import" and it pushes only a single field named "csvimport", there i input some comma separated string that matches the columns in the datatable.
I'm then catching this data after submit with preCreate event server-side.. and now I'm wondering what would be the best way to split this down and run multi-insert, triggering each columns validator/formatter etc..
I found a solution client-side on the forums here but I'd much rather do this server-side if possible.
->on( 'preCreate', function ( $e, $row) {
$row['csvinput'] <-- this has a string containing multiple lines of CSV
any ideas?