Используйте тэг <report> , чтобы добавить виджет с отображением определенного отчета.
Атрибут | Тип | Обязательный | Описание |
---|
The <report> tag adds the widget displaying a particular report.
Available attributes:
Attribute | Type | Mandatory | Description | |||
---|---|---|---|---|---|---|
class | String | N | Нет | Укажите название класса CSS, определенное в поле CSSSpecify the CSS class name defined in the CSS field. | ||
condition | String | N | Нет | Укажите условие для формирования отчетаSpecify a condition to build a report.
| ||
isMandatory | Boolean | N | Нет | Установите значение атрибута "true", чтобы сделать поле обязательным. Make the field mandatory. For this, set the attribute equal to 'true'. | ||
isVisible | Boolean | N | Нет | Чтобы отключить виджет, установите значение "false". Значение по умолчанию "true"To disable the widget displaying, set the attribute to 'false'. This attribute is equal to 'true' by default. | ||
label | String | N | Нет | Опишите содержание поля, добавив его заголовокDescribe the field content by giving a field label with text information. | ||
model | String | Y | Да | Укажите этот атрибут, чтобы указать на объект данных контроллера клиента. При изменении данных модели они автоматически переносятся в данные клиентского скриптаSpecify this attribute to point to the client controller data object. When the model data changes, it is automatically transferred to the data of the client script. | ||
readOnly | Boolean | N | Нет | Чтобы сделать поле доступным только для чтения, установите значение атрибута как "true"To make a field read-only, set the attribute equal to 'true'. | ||
style | String | N | Нет | Настройте вид элементов виджета (размер, шрифт, цвет, и др.), используя синтаксис CSSSpecify the display settings (size, font, color, etc.) of the widget elements using the CSS syntax. | ||
reportId | String | Y | Да | Укажите ID отчета для отображенияSpecify the report with the appropriate ID to display. | ||
value | String | N | Нет | Укажите значение поля по умолчаниюSpecify the default value for the field. |
Note | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
При использовании сразу двух и более условий в строке условия, соединяйте их символом карета ( ^ ). Ниже представлен пример синтаксиса посроения условий:
When placing two or more conditions into the condition string, merge them with the carat symbol ( ^ ). The condition syntax is presented below:
Узначйте больше об операторах условий в статье Операторы условий. |
Пример:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<report reportid="{data.monthBarReportId}" condition="(group.nameLIKEdesk^ORstate=active)"/> |
...