Set a function which should return the classes to use on the row. string function mycallable(array $row) The return value should be a string of class names
This is the code documentation for the SproutCMS project
Search documentation |
function setRowClassesFunc()Set a function which should return the classes to use on the row. string function mycallable(array $row) The return value should be a string of class names
Usagevoid $Itemlist->setRowClassesFunc ( callable $func ); Example$itemlist->setRowClassesFunc(function($row){ if ($row['id'] == 42) return 'ultimate'; return ''; }); Arguments
Return value
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |