|
|
@ -16,6 +16,9 @@ BI.CollectionView = BI.inherit(BI.Widget, { |
|
|
|
scrolly: false, |
|
|
|
scrolly: false, |
|
|
|
overflowX: true, |
|
|
|
overflowX: true, |
|
|
|
overflowY: true, |
|
|
|
overflowY: true, |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.vertical" |
|
|
|
|
|
|
|
}, |
|
|
|
cellSizeAndPositionGetter: BI.emptyFn, |
|
|
|
cellSizeAndPositionGetter: BI.emptyFn, |
|
|
|
horizontalOverscanSize: 0, |
|
|
|
horizontalOverscanSize: 0, |
|
|
|
verticalOverscanSize: 0, |
|
|
|
verticalOverscanSize: 0, |
|
|
@ -65,7 +68,7 @@ BI.CollectionView = BI.inherit(BI.Widget, { |
|
|
|
scrollable = "x"; |
|
|
|
scrollable = "x"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
BI._lazyCreateWidget({ |
|
|
|
BI._lazyCreateWidget(o.el, { |
|
|
|
type: "bi.vertical", |
|
|
|
type: "bi.vertical", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
scrollable: scrollable, |
|
|
|
scrollable: scrollable, |
|
|
@ -124,7 +127,7 @@ BI.CollectionView = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
_cellRenderers: function (height, width, x, y) { |
|
|
|
_cellRenderers: function (height, width, x, y) { |
|
|
|
this._lastRenderedCellIndices = this._sectionManager.getCellIndices(height, width, x, y); |
|
|
|
this._lastRenderedCellIndices = this._sectionManager.getCellIndices(height, width, x, y); |
|
|
|
|
|
|
|
|
|
|
|
return this._cellGroupRenderer(); |
|
|
|
return this._cellGroupRenderer(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -135,7 +138,7 @@ BI.CollectionView = BI.inherit(BI.Widget, { |
|
|
|
var cellMetadata = self._sectionManager.getCellMetadata(index); |
|
|
|
var cellMetadata = self._sectionManager.getCellMetadata(index); |
|
|
|
rendered.push(cellMetadata); |
|
|
|
rendered.push(cellMetadata); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
return rendered; |
|
|
|
return rendered; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|