File

core/dashboard/dashboard.model.ts

Description

Is used to configure a widget dashboard. It allows to set certain parameter that change the behavior of the dashboard.

Index

Properties

Properties

alignViewHeight
alignViewHeight: boolean
Type : boolean
Optional

When true, the dashboard height is aligned to the current viewport height minus an offset. Only applicable when layout is 'custom'.

allowFullscreen
allowFullscreen: boolean
Type : boolean

Should the user be able to switch to fullscreen mode.

canCopy
canCopy: boolean
Type : boolean
Optional

If set to false, the dashboard can not be copied (default true).

canDelete
canDelete: boolean
Type : boolean
Optional

If set to false, the dashboard can not be removed (default true).

columns
columns: number
Type : number
Optional

The amount of columns on that dashboard. Can be freely chosen, but product uses either 12 or 24.

defaultHeight
defaultHeight: number
Type : number

New added widgets get that height attached (in css grid columns units)

defaultWidth
defaultWidth: number
Type : number

New added widgets get that width attached (in css grid row units)

float
float: boolean
Type : boolean
Optional

When true, widgets can be freely positioned and will not collapse upward. Only applicable when layout is 'custom'.

isDisabled
isDisabled: boolean
Type : boolean

If the dashboard is disabled, no changes on this dashboard are allowed. E.g. because the user doesn't have the rights.

isFrozen
isFrozen: boolean
Type : boolean

If the dashboard is frozen, the user can't edit it any more. However he can delete it and change the frozen state.

isLoading
isLoading: boolean
Type : boolean
Optional

Indicates that the dashboard is loading.

layout
layout: "grid" | "custom"
Type : "grid" | "custom"
Optional

Layout mode: 'grid' for standard grid or 'custom' for user-configured layout.

rows
rows: number | "auto"
Type : number | "auto"
Optional

The number of rows on the dashboard. Only used when alignViewHeight is true.

title
title: string
Type : string
Optional

A global title that is used for this dashboard.

translateDashboardTitle
translateDashboardTitle: boolean
Type : boolean

Should attempt translating user-defined dashboard's title if translation is available.

translateWidgetTitle
translateWidgetTitle: boolean
Type : boolean

Should attempt translating user-defined widget's title if translation is available.

widgetMargin
widgetMargin: number
Type : number

The gap between each widget as pixel

results matching ""

    No results matching ""