diff --git a/source/Ox.UI/js/List/CustomList.js b/source/Ox.UI/js/List/CustomList.js index 80278d3a..71573492 100644 --- a/source/Ox.UI/js/List/CustomList.js +++ b/source/Ox.UI/js/List/CustomList.js @@ -74,6 +74,8 @@ Ox.CustomList = function(options, self) { }) .appendTo(that); + that.api = self.$list.options('items'); + /*@ gainFocus gain Focus @*/ diff --git a/source/Ox.UI/js/List/TableList.js b/source/Ox.UI/js/List/TableList.js index 0473e897..ff09fb00 100644 --- a/source/Ox.UI/js/List/TableList.js +++ b/source/Ox.UI/js/List/TableList.js @@ -926,7 +926,9 @@ Ox.TableList = function(options, self) { that.$body.options({items: self.options.items}); //that.$body.options({selected: [item.id]}); */ - } + }; + + that.api = that.$body.options('items'); /*@ closePreivew closePreview