Custom columns allow you to generate the contents for cells, editors and filters completely in code, providing unprecedented flexibility.
In this example, the first 2 columns are standard text columns, but the 3rd column is a custom column, and its contents is generated using the code shown below:
function JTPlatinumGrid1CustomFieldGenerate($sender, $params)
list( $grid, $column, $fields ) = $params;
$value = $fields[ $column->DataField ];
return '' . $value . '';
Copyright © JomiTech 2010. All Rights Reserved. |
Reset Session State |