N°3914 Add row highlight colors to Datatables block when an object has a triggered tto/ttr

This commit is contained in:
Stephen Abello
2021-05-27 16:14:29 +02:00
parent 9ccd26a541
commit 4de40e289f
4 changed files with 31 additions and 1 deletions

View File

@@ -319,6 +319,10 @@ class AjaxRenderController
foreach ($aObject[$sAlias]->GetLoadedAttributes() as $sAttCode) {
$aObj[$sAlias."/".$sAttCode] = $aObject[$sAlias]->GetAsHTML($sAttCode);
}
$sObjHighlightClass = $aObject[$sAlias]->GetHilightClass();
if (!empty($sObjHighlightClass)){
$aObj['@class'] = 'ibo-is-'.$sObjHighlightClass;
}
}
}
if ($sIdName != "") {