diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 2ae3f6ef..924799bf 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -2694,13 +2694,18 @@ requires data: {}, pos: 0 }) - .options(options || {}) + .options(options || {}); $.each(self.options.data, function(k, v) { self.options.data[k] = $.isArray(v) ? v.join(", ") : v; }); - that.append(self.options.construct(self.options.data, self.options.pos)); + that.$element = self.options.construct(self.options.data, self.options.pos); + /* + $.each(self.options.construct(self.options.data, self.options.pos).children(), function(i, v) { + that.append(v); + }); + */ return that; @@ -2848,8 +2853,7 @@ requires .css({ width: Ox.sum(self.columnWidths) + "px" }) - .data("pos", pos) - .click(function() {}); + .data("pos", pos); $.each(self.visibleColumns, function(i, v) { var $cell = $("
") .addClass("OxCell OxColumn" + Ox.toTitleCase(v.id)) @@ -2921,12 +2925,13 @@ requires that.$titles[pos].toggleClass("OxSelected"); that.$titles[pos].next().toggleClass("OxSelected"); that.$titles[pos].next().next().children().eq(0).toggleClass("OxSelected"); + /* that.$titles[pos].css({ width: ( that.$titles[pos].width() + pos == self.selectedColumn ? -16 : 16 ) + "px" }); - + */ } that.sort = function(key, operator) {