Hi!
I�m new att dhtmlx.
I�m trying to connect to a mysql and display the result in a dhtmlxtree.
I�ve tied the samples files and everything works fin.
But i don�t get it to work when i attached a tree to a cell in my layout.
Se code (everything in teh second div works fine)
Hello,
there is an incorrect case in the tree object call. Try to use:
dhxTree.loadXML("./administration/css/dhtmlxConnector_php/samples/tree/02_dynamic_loading_connector.php" + new Date().getTime());
instead of
dhxtree.loadXML("./administration/css/dhtmlxConnector_php/samples/tree/02_dynamic_loading_connector.php" + new Date().getTime());
Thanx it solved the problem, but i have to remove + new Date().getTime());
Do you know you?
Yes, there is also ? missed:
dhxTree.loadXML("./administration/css/dhtmlxConnector_php/samples/tree/02_dynamic_loading_connector.php?" + new Date().getTime());
You´re right!
Works great now!
Do you also know how to use headers in layout but disable collapse function in some cells?
>> Do you also know how to use headers in layout but disable collapse function in some cells?
You can try to use onCollapse event handler. For example if the “a” cell should be always visible, the following method can be applied:
dhxLayout.attachEvent(“onCollapse”, function(itemId){
if(itemId==“a”) dhxLayout.cells(“a”).expand();
});
Thnax but is there also a possible to disable resize cells. So the user can´t drag cells and change width?
Try to use fixSize method: dhxLayout.cells(“a”).fixSize(true,true);
dhtmlx.com/docs/products/dht … xsize.html