i try to customize the "organize images" example. i want the DataView to refresh and show the images of the node i clicked in the tree on the left side. But i can't get it work..
it must be something very simple, but as a beginner in Ext i can't find any solution. hope someone can help me..
thanx...
tufi
here is my modified organizer.js:
[PHP]
Ext.onReady(function(){
Ext.QuickTips.init();
// Album toolbar
var newIndex = 3;
var Tree = Ext.tree;
// set up the Album tree
var tree = new Ext.tree.TreePanel({
loader: new Ext.tree.TreeLoader(
{
dataUrl:'http://localhost:8080/test_project/getNodes',
baseParams: {
whichTree:'extracted',
onlyDirs: 'false',
onlyFiles: 'false'
}
}
),
animate:true,
enableDD:true,
containerScroll: true,
ddGroup: 'organizerDD',
rootVisible:false,
// layout
region:'west',
width:200,
split:true,
// panel
title:'My Albums',
autoScroll:true,
tbar: tb,
margins: '5 0 5 5'
});
var root = new Ext.tree.AsyncTreeNode({
text: 'Albums',
id:'root',
allowDrag:false,
allowDrop:false
});
tree.setRootNode(root);
// add an inline editor for the nodes
var ge = new Ext.tree.TreeEditor(tree, {
allowBlank:false,
blankText:'Sie m