limit records

limit records

mkdodosmkdodos Posts: 2Questions: 0Answers: 0
edited August 2013 in Editor
Hi,

[code]Editor::inst( $db, 'users' )[/code]

When use this line , it output all records from users table.
How to limit the records?

Thanks,
Mark

Replies

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin
    There are only two modes of operation for the Editor libraries - client-side processing (when all records are sent back) and server-side processing (implementing server-side processing where only the records needed for the current display are sent back). See this example for server-side processing http://editor.datatables.net/release/DataTables/extras/Editor/examples/server-side-processing.html

    Allan
This discussion has been closed.