PDA

View Full Version : TreeGrid with rootVisible: true



plalx
9 Mar 2011, 12:33 PM
Ext version tested:


Ext 3.3 rev 0



Adapter used:


ext



css used:


only default ext-all.css
http://dev.sencha.com/deploy/dev/examples/ux/treegrid/treegrid.css





Browser versions tested against:


IE8
Firefox/3.6.13 (Firebug 1.6.1)



Operating System:


WinXP Pro



Description:
TreeGrid is buggy with rootVisible: true;

In Firefox:

25055

In IE:

Message: 'this.elNode.childNodes' is null or not an object
Line: 35483
Char: 9
Code: 0
URI: http://sh34lprald94/REFERENCES/ext-3.3.0/ext-all-debug.js

25056

Test Case:



See http://dev.sencha.com/deploy/dev/examples/treegrid/treegrid.html
and add rootVisible: true;

See this URL : http://dev.sencha.com/deploy/dev/examples/treegrid/treegrid.html


Steps to reproduce the problem:


Add rootVisible: true as a config option to the TreeGrid.



The result that was expected:


Normal TreeGrid display with the root visible.



The result that occurs instead:


TreeGrid layout is messed up in Firefox and throws an error in IE.



Screenshot or Video:


See description



Debugging already done:


none



Possible fix:


The default uiProvider for the root should be Ext.ux.tree.TreeGridNodeUI