Browse Source

表格

master
guy 8 years ago
parent
commit
d37a062596
  1. 20
      bi/widget.js
  2. 20
      docs/widget.js
  3. 12
      src/widget/pagetable/pagetable.js
  4. 8
      src/widget/sequencetable/sequencetable.js

20
bi/widget.js

@ -13053,6 +13053,18 @@ BI.PageTable = BI.inherit(BI.Widget, {
return this.table.getVerticalScroll(); return this.table.getVerticalScroll();
}, },
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop);
},
restore: function () { restore: function () {
this.table.restore(); this.table.restore();
}, },
@ -16176,6 +16188,14 @@ BI.SequenceTable = BI.inherit(BI.Widget, {
return this.table.hasRightHorizontalScroll(); return this.table.hasRightHorizontalScroll();
}, },
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
setVerticalScroll: function (scrollTop) { setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop); this.table.setVerticalScroll(scrollTop);
this.sequence.setVerticalScroll(scrollTop); this.sequence.setVerticalScroll(scrollTop);

20
docs/widget.js

@ -13053,6 +13053,18 @@ BI.PageTable = BI.inherit(BI.Widget, {
return this.table.getVerticalScroll(); return this.table.getVerticalScroll();
}, },
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop);
},
restore: function () { restore: function () {
this.table.restore(); this.table.restore();
}, },
@ -16176,6 +16188,14 @@ BI.SequenceTable = BI.inherit(BI.Widget, {
return this.table.hasRightHorizontalScroll(); return this.table.hasRightHorizontalScroll();
}, },
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
setVerticalScroll: function (scrollTop) { setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop); this.table.setVerticalScroll(scrollTop);
this.sequence.setVerticalScroll(scrollTop); this.sequence.setVerticalScroll(scrollTop);

12
src/widget/pagetable/pagetable.js

@ -243,6 +243,18 @@ BI.PageTable = BI.inherit(BI.Widget, {
return this.table.getVerticalScroll(); return this.table.getVerticalScroll();
}, },
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop);
},
restore: function () { restore: function () {
this.table.restore(); this.table.restore();
}, },

8
src/widget/sequencetable/sequencetable.js

@ -195,6 +195,14 @@ BI.SequenceTable = BI.inherit(BI.Widget, {
return this.table.hasRightHorizontalScroll(); return this.table.hasRightHorizontalScroll();
}, },
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
setVerticalScroll: function (scrollTop) { setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop); this.table.setVerticalScroll(scrollTop);
this.sequence.setVerticalScroll(scrollTop); this.sequence.setVerticalScroll(scrollTop);

Loading…
Cancel
Save