How to load datagrid without accessing the databse on initia

Talk about Filter (search) Settings

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

olabodeaguda
Newbie
Newbie
Posts: 2
Joined: Oct 28th, '14, 12:18

How to load datagrid without accessing the databse on initia

Postby olabodeaguda » Oct 28th, '14, 12:39

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


olabodeaguda
Newbie
Newbie
Posts: 2
Joined: Oct 28th, '14, 12:18

Re: How to load datagrid without accessing the databse on initia

Postby olabodeaguda » Nov 12th, '14, 15:07

administrator wrote:http://www.apphp.net/forum/viewtopic.php?f=33&t=120


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;)


Return to “Settings: Filtering (search) / Autocomplete”