]> git.proxmox.com Git - sencha-touch.git/blob - src/src/table/Table.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / src / table / Table.js
1 Ext.define('Ext.table.Table', {
2 extend: 'Ext.Container',
3
4 requires: ['Ext.table.Row'],
5
6 xtype: 'table',
7
8 config: {
9 baseCls: 'x-table',
10 defaultType: 'tablerow'
11 },
12
13 cachedConfig: {
14 fixedLayout: false
15 },
16
17 fixedLayoutCls: 'x-table-fixed',
18
19 updateFixedLayout: function(fixedLayout) {
20 this.innerElement[fixedLayout ? 'addCls' : 'removeCls'](this.fixedLayoutCls);
21 }
22 });