Ext.define("Ext.tree.Column",{extend:"Ext.grid.column.Column",alias:"widget.treecolumn",tdCls:Ext.baseCSSPrefix+"grid-cell-treecolumn",autoLock:true,lockable:false,draggable:false,hideable:false,iconCls:Ext.baseCSSPrefix+"tree-icon",checkboxCls:Ext.baseCSSPrefix+"tree-checkbox",elbowCls:Ext.baseCSSPrefix+"tree-elbow",expanderCls:Ext.baseCSSPrefix+"tree-expander",textCls:Ext.baseCSSPrefix+"tree-node-text",innerCls:Ext.baseCSSPrefix+"grid-cell-inner-treecolumn",isTreeColumn:true,cellTpl:['','lineempty"/>',"",'-end-plus {expanderCls}"/>','','aria-checked="true" ','class="{childCls} {checkboxCls} {checkboxCls}-checked"/>',"",'leafparent {iconCls}"','style="background-image:url({icon})"/>','','{value}',"",'{value}',""],initComponent:function(){var a=this;a.origRenderer=a.renderer;a.origScope=a.scope||window;a.renderer=a.treeRenderer;a.scope=a;a.callParent()},treeRenderer:function(k,a,e,b,d,l,i){var h=this,n=e.get("cls"),g=h.origRenderer,c=e.data,j=e.parentNode,m=i.rootVisible,o=[],f;if(n){a.tdCls+=" "+n}while(j&&(m||j.data.depth>0)){f=j.data;o[m?f.depth:f.depth-1]=f.isLast?0:1;j=j.parentNode}return h.getTpl("cellTpl").apply({record:e,baseIconCls:h.iconCls,iconCls:c.iconCls,icon:c.icon,checkboxCls:h.checkboxCls,checked:c.checked,elbowCls:h.elbowCls,expanderCls:h.expanderCls,textCls:h.textCls,leaf:c.leaf,expandable:e.isExpandable(),isLast:c.isLast,blankUrl:Ext.BLANK_IMAGE_URL,href:c.href,hrefTarget:c.hrefTarget,lines:o,metaData:a,childCls:h.getChildCls?h.getChildCls()+" ":"",value:g?g.apply(h.origScope,arguments):k})}});