Multiple Fields Global Search *

* Please note global search feature is only available in commercial licenses.

Multiple Fields Global Search
Multiple Fields Global Search

In phpGrid, we always try to make PHP developer’s life easier. So we made global search super simple! A single function call enable_global_search() enables global search on any searchable columns. You can search in one or more searchable columns. Multiple search terms can be separated by space.

Like the externalize search demo, the search returns data from server side through AJAX and subsequently reloads the grid with newly filtered data without reloading the entire page, except this time is only one line code. No bull.


$dg = new C_DataGrid("SELECT * FROM orders", "orderNumber", "orders");
$dg -> enable_global_search(true);
$dg -> display();

See Live Example!