TreeGrid

If i have one parent row in the TreeGrid the plus sign doesnt show up. The minus signs are displayed once expanded.

But it works fine if there are multiple rows.

Problem can’t be reconstructed locally ( working sample sent by email )

If issue still occurs for you - please provide any kind of sample where issue can be reconstructed.


Below is the code that i have used to construct the tree


XML string is below


<?xml version=\"1.0\" encoding=\"UTF-8\" ?>

 
  
  
  
  
 
  
  
  
  
 
 
  
  
  
  
 
 



function doMTDTreeGrid(){<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


        mtdTreeGrid = new dhtmlXGridObject("treeGrid");


                  mtdTreeGrid.selMultiRows = true;


                  mtdTreeGrid.setImagePath("/codebase/imgs/icons_greenfolders/");


                  mtdTreeGrid.setHeader("Header1,Header2,Header3,Header4");


                  mtdTreeGrid.setInitWidths("*,*,*,*");


                  mtdTreeGrid.setColAlign("left,right,right,right");


                  mtdTreeGrid.setColTypes("tree,ro,ro,ro");


                  mtdTreeGrid.enableTreeCellEdit(false);


                  mtdTreeGrid.setSkin("light");


                  mtdTreeGrid.enableTreeGridLines();


                  mtdTreeGrid.init();


                  mtdTreeGrid.loadXMLString(mtdXml);


      }


 

Except of “<rows parent=“a”>” which need to be <rows parent=“0”> all other is correct
The same code works correctly in local samples.


Which version of dhtmlxtreegrid you are using?