View Full Version : [FIXED] [4.1B2] Inconsistent animate behavior for TreePanel

9 Feb 2012, 12:43 PM
When subclassing TreePanel, putting animate : false on the subclass does nothing. The implementation of the animate config is inconsistent with the rest of Ext. If doing a plain Ext.create, animate has effect.

Use this code in the tree panel sample.

Ext.define('foo', {
extend :'Ext.tree.Panel',
title: 'Core Team Projects',
width: 500,
height: 300,
animate : false,
rootVisible: false,

columns: [{
xtype: 'treecolumn', //this is so we know which column will show the tree
text: 'Task',
flex: 2,
sortable: true,
dataIndex: 'task'

Ext.create('foo', {
store: store,
renderTo: Ext.getBody()

9 Feb 2012, 1:44 PM
Thank you