Skip to content

Commit d9d6393

Browse files
authored
ADD: new parameters
Add positional parameters
1 parent 3e275b8 commit d9d6393

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

MDX2JSON/Utils.cls

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,17 @@ ClassMethod UpdateWidget(widgetToUpdate As %DeepSee.Dashboard.Widget, data As %Z
607607
set widgetToUpdate.dataSource = data.dataSource
608608
set widgetToUpdate.dataLink = data.dataLink
609609

610+
if (data.displayInfo '= "") {
611+
set widgetToUpdate.top = data.displayInfo.top
612+
set widgetToUpdate.left = data.displayInfo.left
613+
set widgetToUpdate.width = data.displayInfo.width
614+
set widgetToUpdate.height = data.displayInfo.height
615+
set widgetToUpdate.homeColL = data.displayInfo.topCol
616+
set widgetToUpdate.homeRowL = data.displayInfo.leftRow
617+
set widgetToUpdate.colSpanL = data.displayInfo.colWidth
618+
set widgetToUpdate.rowSpanL = data.displayInfo.rowHeight
619+
}
620+
610621
if (data.type = "pivot")
611622
{
612623
set widgetToUpdate.type = "pivot"

0 commit comments

Comments
 (0)