Ox.TableList: add public 'selectPosition' method

This commit is contained in:
rolux 2012-12-18 11:45:36 +01:00
parent 800b9ac17c
commit 10eafb0bd4

View file

@ -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;
};
/*@