3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
8 Ext.override(Ext.list.Column, {
14 var st = Ext.data.SortTypes;
15 // named sortTypes are supported, here we look them up
16 if(typeof this.sortType == "string"){
17 this.sortType = st[this.sortType];
20 // set default sortType for strings and dates
24 this.sortType = st.asUCString;
27 this.sortType = st.asDate;
30 this.sortType = st.none;
36 Ext.tree.Column = Ext.extend(Ext.list.Column, {});
37 Ext.tree.NumberColumn = Ext.extend(Ext.list.NumberColumn, {});
38 Ext.tree.DateColumn = Ext.extend(Ext.list.DateColumn, {});
39 Ext.tree.BooleanColumn = Ext.extend(Ext.list.BooleanColumn, {});
41 Ext.reg('tgcolumn', Ext.tree.Column);
42 Ext.reg('tgnumbercolumn', Ext.tree.NumberColumn);
43 Ext.reg('tgdatecolumn', Ext.tree.DateColumn);
44 Ext.reg('tgbooleancolumn', Ext.tree.BooleanColumn);