frameworks/uki/src/uki-view/view/table.js in uki-1.1.0 vs frameworks/uki/src/uki-view/view/table.js in uki-1.1.1

- old
+ new

@@ -1,21 +1,21 @@ include('list.js'); uki.view.table = {}; uki.view.declare('uki.view.Table', uki.view.Container, function(Base) { - var propertiesToDelegate = 'rowHeight data packSize visibleRectExt render selectedIndex selectedIndexes selectedRows focus blur hasFocus lastClickIndex focusable textSelectable multiselect'.split(' '); + var propertiesToDelegate = 'rowHeight data packSize visibleRectExt render selectedIndex selectedIndexes selectedRows selectedRow focus blur hasFocus lastClickIndex focusable textSelectable multiselect'.split(' '); this._rowHeight = 17; this._headerHeight = 17; - this.defaultCss = Base.defaultCss + 'overflow:hidden;'; this._listImpl = 'uki.view.List'; uki.each(propertiesToDelegate, function(i, name) { uki.delegateProp(this, name, '_list'); }, this); this._setup = function() { - this._columns = []; Base._setup.call(this); + this._columns = []; + this.defaultCss += 'overflow:hidden;'; }; this._style = function(name, value) { this._header.style(name, value); return Base._style.call(this, name, value);