If i need to filter the data at source, can this be done and how?
Regards Pete
This question has an accepted answers - jump to answer
when you create the json source for editor you can add the where clause
eg
Editor::inst( $db, 'browsers' ) ->fields( Field::inst( 'first_name' )->validator( 'Validate::required' ), Field::inst( 'last_name' )->validator( 'Validate::required' ), Field::inst( 'country' ), Field::inst( 'details' ) ) ->where('last_name', 'Smith'); ->process( $_POST ) ->json();
http://editor.datatables.net/docs/1.4.0/php/class-DataTables.Editor.html
Great, this is better than I thought.
Many thanks
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
when you create the json source for editor you can add the where clause
eg
http://editor.datatables.net/docs/1.4.0/php/class-DataTables.Editor.html
Great, this is better than I thought.
Many thanks