KoolGrid supports altering columns' data with user-defined mapping functions which implement the GridIValueMap:
$ds->setValueMap(new ReverseMap());
The interface details and examples could be found in the same folder with the koolgrid control.
span style="color: #ff0000;">"../../../../KoolControls";//Relative path to "KoolPHPSuite/KoolControls" folder
"/KoolGrid/koolgrid.php""/KoolGrid/ext/datasources/MySQLiDataSource.php";//
"/KoolAjax/koolajax.php";
$koolajax->scriptFolder = $KoolControlsFolder."/KoolAjax""/KoolCalendar/koolcalendar.php"//This $db_con link has been created inside KoolPHPSuite/Resources/runexample.php
$ds->SelectCommand = "select orderNumber,orderDate,status,comments from orders""update orders set orderDate='@orderDate', status='@status', comments='@comments' where orderNumber='@orderNumber'";
$ds->DeleteCommand = "delete from orders where orderNumber=@orderNumber""grid");
$grid->scriptFolder = $KoolControlsFolder."/KoolGrid";
$grid->styleFolder="sunset""655px""orderNumber""Order Number""orderDate""Order Date""Y-m-d";
//Assign datepicker for GridDateTimeColumn, this is optional.
"/KoolCalendar""sunset""Y/m/d""status""Status";
$column->AddItem("In Process");
$column->AddItem("On Hold");
$column->AddItem("Disputed");
$column->AddItem("Cancelled");
$column->AddItem("Resolved");
$column->AddItem("Shipped""comments""Comments";
$column->Width = "200px";
// $column->Visible=FALSE;
"center""Inline";//"Inline" is default value;
"form1" method="post">
<b>Reverse string in the comments column:</b>
<div style="padding-top:10px;"