in TableList and CustomList, expose list api

This commit is contained in:
rolux 2012-12-11 16:36:38 +01:00
parent 6fd7e99c7a
commit 51bf0498da
2 changed files with 5 additions and 1 deletions

View file

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

View file

@ -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