[Added] nuOnProcessBrowseRows() PHP
Posted: Thu Apr 01, 2021 7:12 pm
Add a function called nuOnProcessBrowseRows() in the BB PHP event to pre-process/manipulate rows before they are displayed in a Browse Form.
Example: Replace all 1 in column 1 with a ✓ character.
Example: Replace all 1 in column 1 with a ✓ character.
Code: Select all
function nuOnProcessBrowseRows() {
for($i = 0 ; $i < count($f->browse_rows) ; $i++){
if ($f->browse_rows[$i][1] == '1') {
$f->browse_rows[$i][1] = '✓';
}
}
}