dashboard-js-devexpress-dot-dashboard-dot-model-1865321a.md
A layout group used to arrange layout items or other groups within a dashboard.
export class DashboardLayoutGroup extends DashboardLayoutNode
Use the DashboardLayoutGroup.childNodes property to get access to the collection of child layout groups and items that constitute the current layout group. The DashboardLayoutGroup.orientation property specifies the orientation of layout items/groups within the group.
The DashboardLayoutNode.weight property allows you to specify the relative size of the layout group.
insert(itemToInsert, position)
SerializableModel TypedSerializableModel DashboardLayoutNode DashboardLayoutGroup DashboardLayoutRootGroup
Initializes a new instance of the DashboardLayoutGroup class.
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
| Name | Type | Description |
|---|---|---|
| modelJson | any |
A JSON object used for dashboard deserialization. Do not pass this parameter directly.
| | serializer | ModelSerializer |
An object used for dashboard deserialization. Do not pass this parameter directly.
|
Provides access to the collection of child layout groups and items.
childNodes: ko.ObservableArray<DevExpress.Dashboard.Model.DashboardLayoutNode>
| Type | Description |
|---|---|
| ObservableArray<DashboardLayoutNode> |
A collection of the DashboardLayoutNode objects.
|
Specifies the value that indicates the orientation of layout items/groups within the group.
orientation: ko.Observable<DevExpress.Dashboard.Model.DashboardLayoutGroupOrientation>
| Type | Description |
|---|---|
| Observable<DashboardLayoutGroupOrientation> |
The DashboardLayoutGroupOrientation value that indicates the orientation of layout items/groups within the group.
|
Disposes of all resources associated with this DashboardLayoutGroup.
dispose(): void
findLayoutItem(
dashboardItem: DevExpress.Dashboard.Model.DashboardItem
): DevExpress.Dashboard.Model.DashboardLayoutNode
| Name | Type |
|---|---|
| dashboardItem | DashboardItem |
| Type |
|---|
| DashboardLayoutNode |
getItemsRecursive(): Array<DevExpress.Dashboard.Model.DashboardLayoutNode>
| Type |
|---|
| DashboardLayoutNode[] |
getNodesRecursive(): Array<DevExpress.Dashboard.Model.DashboardLayoutNode>
| Type |
|---|
| DashboardLayoutNode[] |