in TableList and CustomList, expose list api
This commit is contained in:
parent
6fd7e99c7a
commit
51bf0498da
2 changed files with 5 additions and 1 deletions
|
@ -74,6 +74,8 @@ Ox.CustomList = function(options, self) {
|
||||||
})
|
})
|
||||||
.appendTo(that);
|
.appendTo(that);
|
||||||
|
|
||||||
|
that.api = self.$list.options('items');
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
gainFocus <f> gain Focus
|
gainFocus <f> gain Focus
|
||||||
@*/
|
@*/
|
||||||
|
|
|
@ -926,7 +926,9 @@ Ox.TableList = function(options, self) {
|
||||||
that.$body.options({items: self.options.items});
|
that.$body.options({items: self.options.items});
|
||||||
//that.$body.options({selected: [item.id]});
|
//that.$body.options({selected: [item.id]});
|
||||||
*/
|
*/
|
||||||
}
|
};
|
||||||
|
|
||||||
|
that.api = that.$body.options('items');
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
closePreivew <f> closePreview
|
closePreivew <f> closePreview
|
||||||
|
|
Loading…
Reference in a new issue