Ox.TableList: add public 'selectPosition' method
This commit is contained in:
parent
800b9ac17c
commit
10eafb0bd4
1 changed files with 7 additions and 0 deletions
|
@ -1057,6 +1057,12 @@ Ox.TableList = function(options, self) {
|
|||
|
||||
that.removeColumn = function(id) {
|
||||
removeColumn(id);
|
||||
return that;
|
||||
};
|
||||
|
||||
that.selectPosition = function(pos) {
|
||||
that.$body.selectPosition(pos);
|
||||
return that;
|
||||
};
|
||||
|
||||
that.setColumnTitle = function(id, title) {
|
||||
|
@ -1065,6 +1071,7 @@ Ox.TableList = function(options, self) {
|
|||
if (self.options.columns[index].visible) {
|
||||
self.$titles[getColumnPositionById(id)].html(title);
|
||||
}
|
||||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
Loading…
Reference in a new issue