Enable inline search by default
Add the following at the end of the page (version 6+). Replace TABLENAME with your own database table name.
// ... ...
$toggleToolbarJs = <<<TOGGLETOOLBAR
grid_TABLENAME[0].toggleToolbar();
TOGGLETOOLBAR;
$dg->before_script_end = $toggleToolbarJs;
$dg->display();