Categories | Question details Back To List | ||
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. Answer posted by Support on Dec 24, 2008 02:41 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. Answer posted by Debamita on Dec 24, 2008 03:13 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(){ 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); }
Answer posted by Support on Dec 24, 2008 05:38 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? |