|
|
@ -262,7 +262,6 @@ BI.GridView = BI.inherit(BI.Widget, { |
|
|
|
this.options.items = items; |
|
|
|
this.options.items = items; |
|
|
|
this._calculateSizeAndPositionData(); |
|
|
|
this._calculateSizeAndPositionData(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (o.items.length > 0) { |
|
|
|
|
|
|
|
this.container.setWidth(this._getContainerWidth()); |
|
|
|
this.container.setWidth(this._getContainerWidth()); |
|
|
|
this.container.setHeight(this._getContainerHeight()); |
|
|
|
this.container.setHeight(this._getContainerHeight()); |
|
|
|
|
|
|
|
|
|
|
@ -274,10 +273,6 @@ BI.GridView = BI.inherit(BI.Widget, { |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
} |
|
|
|
} |
|
|
|
this._calculateChildrenToRender(); |
|
|
|
this._calculateChildrenToRender(); |
|
|
|
} else { |
|
|
|
|
|
|
|
this.container.setWidth("auto"); |
|
|
|
|
|
|
|
this.container.setHeight("auto"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setScrollLeft: function (scrollLeft) { |
|
|
|
setScrollLeft: function (scrollLeft) { |
|
|
|