Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 14, 2007 14:47
open dhtmlx forum
I want to use dynamic loading, in your dhtmlxTree it is possible to load every tree level dynamically o...

I want to use dynamic loading, in your dhtmlxTree it is possible to load every tree level dynamically on request.

This is in dhtmlXTreeGrid not possible in this way. How can I color every tree level in a different color in dhtmlxTreeGrid. Is it possible via css?

My dhtmlXTreeGrid has only one column and this is a tree. I want to color every tree level in a specific color. And i want to use dynamic loading if the user opens one tree level in dhtmlXTreeGrid. Is this possible?
Answer posted on Mar 14, 2007 14:47

It is possible to load tree levels dynamically on request by using kidsXmlFile attrubute.

    mygrid.kidsXmlFile="pro_treeGrid_dynamic.php";

    mygrid.loadXML("pro_treeGrid_dynamic.php");

See in documentation samples/pro_treeGrid_dynamic.html
 

It is not possible to set different color for levels, but you can set especial colors for all rows in xml as "bgColor" attribute or by setRowColor method (documentation doc/alpha.html#api_a).
Answer posted by Embre (Support) on Dec 03, 2014 09:50

To find more precise comments upon this issue, we can offer you read about tree menu free and javascript touch framework.