guy 8 years ago
parent
commit
eebb79b1ac
  1. 12
      bi/base.js
  2. 12
      docs/base.js
  3. 4
      src/base/collection/collection.js
  4. 8
      src/base/grid/grid.js

12
bi/base.js

@ -2532,8 +2532,8 @@ BI.CollectionView = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-collection", baseCls: "bi-collection",
width: 400, // width: 400,
height: 300, // height: 300,
overflowX: true, overflowX: true,
overflowY: true, overflowY: true,
cellSizeAndPositionGetter: BI.emptyFn, cellSizeAndPositionGetter: BI.emptyFn,
@ -14673,16 +14673,16 @@ BI.GridView = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-grid-view", baseCls: "bi-grid-view",
width: 400, // width: 400,
height: 300, // height: 300,
overflowX: true, overflowX: true,
overflowY: true, overflowY: true,
overscanColumnCount: 0, overscanColumnCount: 0,
overscanRowCount: 0, overscanRowCount: 0,
rowHeightGetter: BI.emptyFn, rowHeightGetter: BI.emptyFn,
columnWidthGetter: BI.emptyFn, columnWidthGetter: BI.emptyFn,
estimatedColumnSize: 100, // estimatedColumnSize: 100,
estimatedRowSize: 30, // estimatedRowSize: 30,
scrollLeft: 0, scrollLeft: 0,
scrollTop: 0, scrollTop: 0,
items: [] items: []

12
docs/base.js

@ -2532,8 +2532,8 @@ BI.CollectionView = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-collection", baseCls: "bi-collection",
width: 400, // width: 400,
height: 300, // height: 300,
overflowX: true, overflowX: true,
overflowY: true, overflowY: true,
cellSizeAndPositionGetter: BI.emptyFn, cellSizeAndPositionGetter: BI.emptyFn,
@ -14673,16 +14673,16 @@ BI.GridView = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-grid-view", baseCls: "bi-grid-view",
width: 400, // width: 400,
height: 300, // height: 300,
overflowX: true, overflowX: true,
overflowY: true, overflowY: true,
overscanColumnCount: 0, overscanColumnCount: 0,
overscanRowCount: 0, overscanRowCount: 0,
rowHeightGetter: BI.emptyFn, rowHeightGetter: BI.emptyFn,
columnWidthGetter: BI.emptyFn, columnWidthGetter: BI.emptyFn,
estimatedColumnSize: 100, // estimatedColumnSize: 100,
estimatedRowSize: 30, // estimatedRowSize: 30,
scrollLeft: 0, scrollLeft: 0,
scrollTop: 0, scrollTop: 0,
items: [] items: []

4
src/base/collection/collection.js

@ -9,8 +9,8 @@ BI.CollectionView = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.CollectionView.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-collection", baseCls: "bi-collection",
width: 400, // width: 400,
height: 300, // height: 300,
overflowX: true, overflowX: true,
overflowY: true, overflowY: true,
cellSizeAndPositionGetter: BI.emptyFn, cellSizeAndPositionGetter: BI.emptyFn,

8
src/base/grid/grid.js

@ -9,16 +9,16 @@ BI.GridView = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.GridView.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-grid-view", baseCls: "bi-grid-view",
width: 400, // width: 400,
height: 300, // height: 300,
overflowX: true, overflowX: true,
overflowY: true, overflowY: true,
overscanColumnCount: 0, overscanColumnCount: 0,
overscanRowCount: 0, overscanRowCount: 0,
rowHeightGetter: BI.emptyFn, rowHeightGetter: BI.emptyFn,
columnWidthGetter: BI.emptyFn, columnWidthGetter: BI.emptyFn,
estimatedColumnSize: 100, // estimatedColumnSize: 100,
estimatedRowSize: 30, // estimatedRowSize: 30,
scrollLeft: 0, scrollLeft: 0,
scrollTop: 0, scrollTop: 0,
items: [] items: []

Loading…
Cancel
Save