PDA

View Full Version : Treepanel tree-node-hover.. not displaying cursor:pointer;



Vishvesh
18 Nov 2013, 10:45 AM
Hello,
I was following this link http://dev.sencha.com/deploy/ext-4.0.0/examples/tree/reorder.html to get my tree functionality// in a EXT Viewport on the west panel..

I have incorporated the treee panel.. but for some reason.. in my viewport.. on the tree-node hover event.. the cursor is not changed to pointer.. and even if I click on the entire row.. it does'nt get expanded..

It only recognizes the click and expands.. when I click on the arrows..
This is my tree configuration..


treePanel = new Ext.create('Ext.tree.Panel', {
id: 'west-panel',
store: treeStore,
width: 200,
split: true,
region: 'west',
title: 'Select Type To View',
rootVisible: false,
stateId: 'navigation-panel',
autoScroll: true,
animate: true,
containerScroll: true,
collapsible: false,
animCollapse: true,
useArrows: true,
margins:'0 0 5 5',
listeners: {
itemclick: function(s,r) {
console.log(r);
console.log("Clicked on : "+r.data.text);
}
}
});

Also, my Viewport theme is this:


Ext Theme Classic


Am I missing out on something?

scottmartin
18 Nov 2013, 5:20 PM
I believe this is just a difference in the versions. Ext4.2 does not display this:
http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#tree-reorder

If you run the examples in our fiddle with the different versions, you will see the change.

Vishvesh
18 Nov 2013, 5:31 PM
Thanks for the reply..

And thank you for noticing the difference between the versions scott!

So I'll have to change my version to 4.1 instead in order to achieve this feature?

Thank you.

Ntenis
18 Nov 2013, 5:32 PM
I think if you change the version of it, it might work!Best of luck

Vishvesh
18 Nov 2013, 5:34 PM
Alright,

I'll go ahead with 4.1.. Hopefully it satisfies this feature :)

Thank you.