diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 2ba80907..39dd91ee 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -6440,7 +6440,6 @@ requires $.extend(self, { columnPositions: [], - columnWidths: [], itemHeight: 16, page: 0, pageLength: 100, @@ -6451,6 +6450,9 @@ requires }) }); $.extend(self, { + columnWidths: $.map(self.visibleColumns, function(v, i) { + return v.width; + }), pageHeight: self.options.pageLength * self.itemHeight }); @@ -6576,14 +6578,12 @@ requires function constructHead() { that.$titles = []; self.columnPositions = []; - self.columnWidths = []; $.each(self.visibleColumns, function(i, v) { var $order, $resize, $left, $center, $right, timeout = 0; - self.columnWidths[i] = v.width; that.$titles[i] = $('