Hello.
I'm building a tree manually but there is no indentation between the parent and children folders in IE6 and IE8 whereas there is an indentation in Mozilla and Chrome.
Here is my code:
Please see the attachments for the display.
I also tried to add
and
But there is no effect on IE.
Thanks for your aid!
I'm building a tree manually but there is no indentation between the parent and children folders in IE6 and IE8 whereas there is an indentation in Mozilla and Chrome.
Here is my code:
Code:
TreeGrid treeGrid = new TreeGrid();
treeGrid.setTreeFieldTitle("Groupes");
treeGrid.setCanEdit(false);
treeGrid.setSelectionType(SelectionStyle.SINGLE);
treeGrid.setShowResizeBar(true);
treeGrid.setDataPageSize(30);
treeGrid.setWidth100();
treeGrid.setHeight100();
Tree tree = new Tree();
tree.setModelType(TreeModelType.PARENT);
tree.setShowRoot(false);
TreeNode groupeNode = new TreeNode();
groupeNode.setIsFolder(true);
groupeNode.setTitle("ECH2 - Administrateur M");
tree.add(groupeNode, "/");
TreeNode entiteTitleNode = new TreeNode();
entiteTitleNode.setIsFolder(true);
entiteTitleNode.setTitle("Entités");
tree.add(entiteTitleNode, groupeNode);
TreeNode entiteNode = new TreeNode();
entiteNode.setTitle("Entité1");
tree.add(entiteNode, entiteTitleNode);
treeGrid.setData(tree);
I also tried to add
Code:
treeGrid.setIndentSize(20);
Code:
treeGrid.setGroupIndentSize(20);
Thanks for your aid!
Comment