mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3911 Fix datamodel viewer table overflowing in some case
This commit is contained in:
@@ -986,9 +986,12 @@ function DisplayClassDetails($oPage, $sClass, $sContext)
|
||||
'moreinfo' => array('label' => Dict::S('UI:Schema:MoreInfo'), 'description' => Dict::S('UI:Schema:MoreInfo+')),
|
||||
'origin' => array('label' => Dict::S('UI:Schema:Origin'), 'description' => Dict::S('UI:Schema:Origin+')),
|
||||
);
|
||||
|
||||
$oTablePanel = PanelUIBlockFactory::MakeForClass($sClass, '');
|
||||
$oTablePanel->AddCSSClass('ibo-datatable-panel');
|
||||
|
||||
$oAttributesTable = DataTableUIBlockFactory::MakeForStaticData('', $aConfig, $aDetails, 'ibo-datamodel-viewer--attributes-table', [], "", array('pageLength' => -1));
|
||||
$oPage->AddUiBlock($oAttributesTable);
|
||||
$oTablePanel->AddSubBlock($oAttributesTable);
|
||||
$oPage->AddUiBlock($oTablePanel);
|
||||
$sOrigins = json_encode(array_keys($aOrigins));
|
||||
|
||||
//color calculation in order to keep 1 color for 1 extended class. Colors are interpolated and will be used for
|
||||
|
||||
Reference in New Issue
Block a user