From eebb79b1ac48d251ce43ad722ebddb527ba99fea Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 20 May 2017 15:20:57 +0800 Subject: [PATCH] add --- bi/base.js | 12 ++++++------ docs/base.js | 12 ++++++------ src/base/collection/collection.js | 4 ++-- src/base/grid/grid.js | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/bi/base.js b/bi/base.js index 165a9b025..728e5fd04 100644 --- a/bi/base.js +++ b/bi/base.js @@ -2532,8 +2532,8 @@ BI.CollectionView = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-collection", - width: 400, - height: 300, + // width: 400, + // height: 300, overflowX: true, overflowY: true, cellSizeAndPositionGetter: BI.emptyFn, @@ -14673,16 +14673,16 @@ BI.GridView = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-grid-view", - width: 400, - height: 300, + // width: 400, + // height: 300, overflowX: true, overflowY: true, overscanColumnCount: 0, overscanRowCount: 0, rowHeightGetter: BI.emptyFn, columnWidthGetter: BI.emptyFn, - estimatedColumnSize: 100, - estimatedRowSize: 30, + // estimatedColumnSize: 100, + // estimatedRowSize: 30, scrollLeft: 0, scrollTop: 0, items: [] diff --git a/docs/base.js b/docs/base.js index 165a9b025..728e5fd04 100644 --- a/docs/base.js +++ b/docs/base.js @@ -2532,8 +2532,8 @@ BI.CollectionView = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-collection", - width: 400, - height: 300, + // width: 400, + // height: 300, overflowX: true, overflowY: true, cellSizeAndPositionGetter: BI.emptyFn, @@ -14673,16 +14673,16 @@ BI.GridView = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-grid-view", - width: 400, - height: 300, + // width: 400, + // height: 300, overflowX: true, overflowY: true, overscanColumnCount: 0, overscanRowCount: 0, rowHeightGetter: BI.emptyFn, columnWidthGetter: BI.emptyFn, - estimatedColumnSize: 100, - estimatedRowSize: 30, + // estimatedColumnSize: 100, + // estimatedRowSize: 30, scrollLeft: 0, scrollTop: 0, items: [] diff --git a/src/base/collection/collection.js b/src/base/collection/collection.js index d359668a5..ab942f7bc 100644 --- a/src/base/collection/collection.js +++ b/src/base/collection/collection.js @@ -9,8 +9,8 @@ BI.CollectionView = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-collection", - width: 400, - height: 300, + // width: 400, + // height: 300, overflowX: true, overflowY: true, cellSizeAndPositionGetter: BI.emptyFn, diff --git a/src/base/grid/grid.js b/src/base/grid/grid.js index c76f354c7..3ff3ff30f 100644 --- a/src/base/grid/grid.js +++ b/src/base/grid/grid.js @@ -9,16 +9,16 @@ BI.GridView = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-grid-view", - width: 400, - height: 300, + // width: 400, + // height: 300, overflowX: true, overflowY: true, overscanColumnCount: 0, overscanRowCount: 0, rowHeightGetter: BI.emptyFn, columnWidthGetter: BI.emptyFn, - estimatedColumnSize: 100, - estimatedRowSize: 30, + // estimatedColumnSize: 100, + // estimatedRowSize: 30, scrollLeft: 0, scrollTop: 0, items: []