Talk about Filter (search) Settings
3 posts • Page 1 of 1
How to load datagrid without accessing the database on initial loading of the database.I want to be able to access the database when i search for record
The suggestion below as discussed on the url above will still go to the database. I want a situation whereby onload of the page, it won't go into the database until a data is searched.
$dgrid->DataSource($db_conn, $sql, $default_order_field, $default_order_type);
$dgrid->hideGridBeforeSearch = true;
(old syntax: $dgrid->hide_grid_before_search = true;)