|
|
|
@ -14750,6 +14750,10 @@ BI.Grid = BI.inherit(BI.Widget, {
|
|
|
|
|
if (o.items.length > 0) { |
|
|
|
|
this.columnCount = o.items[0].length; |
|
|
|
|
this.rowCount = o.items.length; |
|
|
|
|
} else { |
|
|
|
|
this.rowCount = 0; |
|
|
|
|
this.columnCount = 0; |
|
|
|
|
} |
|
|
|
|
this.container.setWidth(this.columnCount * o.estimatedColumnSize); |
|
|
|
|
this.container.setHeight(this.rowCount * o.estimatedRowSize); |
|
|
|
|
|
|
|
|
@ -14759,7 +14763,6 @@ BI.Grid = BI.inherit(BI.Widget, {
|
|
|
|
|
this._calculateChildrenToRender(); |
|
|
|
|
this.element.scrollTop(o.scrollTop); |
|
|
|
|
this.element.scrollLeft(o.scrollLeft); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setScrollLeft: function (scrollLeft) { |
|
|
|
|