PDA

View Full Version : Change icons in a TreePanel



dana.lees
13 Sep 2009, 3:06 AM
Hello,

I am using a TreePanel which is loaded using json.



var tree = new Tree.TreePanel({
title: groups,
split:true,
autoScroll:true,
animate:true,
enableDD:false,
border: false,
containerScroll: true,
rootVisible : false,
loader: new myNamespace.JsonRequestTreeLoader({
requestMethod: 'POST',
dataUrl:'AssignmentToolWS.asmx/GetSubGroups'
})
});


I would like to change the icons (based on a check of the node's type).

How and where should I do that?

Thanks

computerangel
13 Sep 2009, 5:37 AM
chaning css may be helpful