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:
parent
120a9eda41
commit
e069f11c9a
5 changed files with 66 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue