1
0
Fork 0
forked from 0x2620/oxjs

Lists: make most recently selected item selected[0]; add selectSelected method to change this item from outside

This commit is contained in:
rolux 2014-02-02 12:34:12 +00:00
commit e069f11c9a
5 changed files with 66 additions and 16 deletions

View file

@ -1133,6 +1133,11 @@ Ox.TableList = function(options, self) {
return that;
};
that.selectSelected = function(offset) {
that.$body.selectSelected(offset);
return that;
};
that.setColumnTitle = function(id, title) {
var index = getColumnIndexById(id);
self.options.columns[index].title = title;