guy 8 years ago
parent
commit
a33e3c90ee
  1. 10
      bi/base.js
  2. 10
      docs/base.js
  3. 10
      src/base/table/table.grid.js

10
bi/base.js

@ -29684,7 +29684,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.topLeftGrid = BI.createWidget({ this.topLeftGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnLeftWidthGetter, columnWidthGetter: columnLeftWidthGetter
}); });
this.topLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.topLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomLeftGrid.setScrollLeft(scroll.scrollLeft); self.bottomLeftGrid.setScrollLeft(scroll.scrollLeft);
@ -29694,7 +29694,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.topRightGrid = BI.createWidget({ this.topRightGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnRightWidthGetter, columnWidthGetter: columnRightWidthGetter
}); });
this.topRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.topRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomRightGrid.setScrollLeft(scroll.scrollLeft); self.bottomRightGrid.setScrollLeft(scroll.scrollLeft);
@ -29704,7 +29704,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.bottomLeftGrid = BI.createWidget({ this.bottomLeftGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnLeftWidthGetter, columnWidthGetter: columnLeftWidthGetter
}); });
this.bottomLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.bottomLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomRightGrid.setScrollTop(scroll.scrollTop); self.bottomRightGrid.setScrollTop(scroll.scrollTop);
@ -29715,7 +29715,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.bottomRightGrid = BI.createWidget({ this.bottomRightGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnRightWidthGetter, columnWidthGetter: columnRightWidthGetter
}); });
this.bottomRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.bottomRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomLeftGrid.setScrollTop(scroll.scrollTop); self.bottomLeftGrid.setScrollTop(scroll.scrollTop);
@ -29803,7 +29803,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
el: this.leftScrollbar, el: this.leftScrollbar,
left: 0 left: 0
}, { }, {
el: this.rightScrollbar, el: this.rightScrollbar
}] }]
}); });
this._width = o.width - BI.GridTableScrollbar.SIZE; this._width = o.width - BI.GridTableScrollbar.SIZE;

10
docs/base.js

@ -29684,7 +29684,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.topLeftGrid = BI.createWidget({ this.topLeftGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnLeftWidthGetter, columnWidthGetter: columnLeftWidthGetter
}); });
this.topLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.topLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomLeftGrid.setScrollLeft(scroll.scrollLeft); self.bottomLeftGrid.setScrollLeft(scroll.scrollLeft);
@ -29694,7 +29694,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.topRightGrid = BI.createWidget({ this.topRightGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnRightWidthGetter, columnWidthGetter: columnRightWidthGetter
}); });
this.topRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.topRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomRightGrid.setScrollLeft(scroll.scrollLeft); self.bottomRightGrid.setScrollLeft(scroll.scrollLeft);
@ -29704,7 +29704,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.bottomLeftGrid = BI.createWidget({ this.bottomLeftGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnLeftWidthGetter, columnWidthGetter: columnLeftWidthGetter
}); });
this.bottomLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.bottomLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomRightGrid.setScrollTop(scroll.scrollTop); self.bottomRightGrid.setScrollTop(scroll.scrollTop);
@ -29715,7 +29715,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.bottomRightGrid = BI.createWidget({ this.bottomRightGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnRightWidthGetter, columnWidthGetter: columnRightWidthGetter
}); });
this.bottomRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.bottomRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomLeftGrid.setScrollTop(scroll.scrollTop); self.bottomLeftGrid.setScrollTop(scroll.scrollTop);
@ -29803,7 +29803,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
el: this.leftScrollbar, el: this.leftScrollbar,
left: 0 left: 0
}, { }, {
el: this.rightScrollbar, el: this.rightScrollbar
}] }]
}); });
this._width = o.width - BI.GridTableScrollbar.SIZE; this._width = o.width - BI.GridTableScrollbar.SIZE;

10
src/base/table/table.grid.js

@ -37,7 +37,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.topLeftGrid = BI.createWidget({ this.topLeftGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnLeftWidthGetter, columnWidthGetter: columnLeftWidthGetter
}); });
this.topLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.topLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomLeftGrid.setScrollLeft(scroll.scrollLeft); self.bottomLeftGrid.setScrollLeft(scroll.scrollLeft);
@ -47,7 +47,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.topRightGrid = BI.createWidget({ this.topRightGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnRightWidthGetter, columnWidthGetter: columnRightWidthGetter
}); });
this.topRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.topRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomRightGrid.setScrollLeft(scroll.scrollLeft); self.bottomRightGrid.setScrollLeft(scroll.scrollLeft);
@ -57,7 +57,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.bottomLeftGrid = BI.createWidget({ this.bottomLeftGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnLeftWidthGetter, columnWidthGetter: columnLeftWidthGetter
}); });
this.bottomLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.bottomLeftGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomRightGrid.setScrollTop(scroll.scrollTop); self.bottomRightGrid.setScrollTop(scroll.scrollTop);
@ -68,7 +68,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
this.bottomRightGrid = BI.createWidget({ this.bottomRightGrid = BI.createWidget({
type: "bi.grid_view", type: "bi.grid_view",
rowHeightGetter: rowHeightGetter, rowHeightGetter: rowHeightGetter,
columnWidthGetter: columnRightWidthGetter, columnWidthGetter: columnRightWidthGetter
}); });
this.bottomRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) { this.bottomRightGrid.on(BI.GridView.EVENT_SCROLL, function (scroll) {
self.bottomLeftGrid.setScrollTop(scroll.scrollTop); self.bottomLeftGrid.setScrollTop(scroll.scrollTop);
@ -156,7 +156,7 @@ BI.GridTable = BI.inherit(BI.Widget, {
el: this.leftScrollbar, el: this.leftScrollbar,
left: 0 left: 0
}, { }, {
el: this.rightScrollbar, el: this.rightScrollbar
}] }]
}); });
this._width = o.width - BI.GridTableScrollbar.SIZE; this._width = o.width - BI.GridTableScrollbar.SIZE;

Loading…
Cancel
Save