Report::getUiPanel($param)
Version 4.1
Return report as ui panel
Version 4.1
Return report as ui panel
Object Panel
Render uiList
$this->get('report',1010)->getUiPanel();
Set rendering parameters
$this->get('report',1010)->getUiPanel(Array(
'title' => 'Title text',
'height' => 400
));
You can override viewtype parameters third argument:
$this->get('report', 1010, Array(
'view' => Array(
'toolbar' => false
)
))->getUiPanel();
Or getting Viewtype from Report and setting its parameters:
$Report = $this->get('report',1010);
$Report->getViewtype()->setParameters(Array(
'view' => Array(
'toolbar' => false
)
));
name | value | Default | Description |
---|---|---|---|
title | bool/string | true | Panel title. If true, report title. |
description | bool/string | true | Panel description. If true, report description. |
color | bool | false | Panel color. If true, Report color. |
icon | bool | false | Panel icon. If true, Report icon. |
open | bool | true | Show open report -icon in menu. |
height | int | Panel height. IS set as Report height. |