From 10eafb0bd4853d9e2d6e122d679731ec3d2ebc1d Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 18 Dec 2012 11:45:36 +0100 Subject: [PATCH] Ox.TableList: add public 'selectPosition' method --- source/Ox.UI/js/List/TableList.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/Ox.UI/js/List/TableList.js b/source/Ox.UI/js/List/TableList.js index 633a803f..f45dbb9b 100644 --- a/source/Ox.UI/js/List/TableList.js +++ b/source/Ox.UI/js/List/TableList.js @@ -1057,6 +1057,12 @@ Ox.TableList = function(options, self) { that.removeColumn = function(id) { removeColumn(id); + return that; + }; + + that.selectPosition = function(pos) { + that.$body.selectPosition(pos); + return that; }; that.setColumnTitle = function(id, title) { @@ -1065,6 +1071,7 @@ Ox.TableList = function(options, self) { if (self.options.columns[index].visible) { self.$titles[getColumnPositionById(id)].html(title); } + return that; }; /*@