KoolGrid's pager can be shown at either top,bottom or both places of the grid.
$grid->MasterTable->Pager->Positon = "top";
$grid->MasterTable->Pager->Positon = "bottom";
$grid->MasterTable->Pager->Positon = "top+bottom";
span style="color: #808080; font-style: italic;">/*
* This file is ready to run as standalone example. However, please do:
* 1. Add tags <html><head><body> to make a complete page
* 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder
*/
$KoolControlsFolder = "../../../../KoolControls";//Relative path to "KoolPHPSuite/KoolControls" folder
"/KoolAjax/koolajax.php";
$koolajax->scriptFolder = $KoolControlsFolder."/KoolAjax""/KoolGrid/koolgrid.php""/KoolGrid/ext/datasources/MySQLiDataSource.php"//This $db_con link has been created inside KoolPHPSuite/Resources/runexample.php
$ds->SelectCommand = "select customerNumber,customerName,phone,city from customers""grid");
$grid->scriptFolder = $KoolControlsFolder."/KoolGrid";
$grid->styleFolder="sunset""655px""position_select""position_select""position_select"//Page Init: show default position as top
"position_select"] = "top";
}
}
//Pager settings
"position_select""form1" method="post""position_select" name="position_select" onchange="submit();">
<option value="top""position_select"]=="top""selected""bottom""position_select"]=="bottom""selected""top+bottom""position_select"]=="top+bottom""selected""padding-top:10px;"