How can I remove icon from a TreeGrid node?
I tried this:
menuData = TreeNode[]; //I'm loading this elsewhere
// Menu
menuTree = new Tree();
menuTree.setModelType(TreeModelType.PARENT);
menuTree.setIdField("menuId");
menuTree.setParentIdField("reportsTo");
menuTree.setRootValue(1);
menuTree.setData(menuData);
menuTreeGrid = new TreeGrid();
menuTreeGrid.setWidth100();
menuTreeGrid.setHeight100();
menuTreeGrid.setBorder("0");
menuTreeGrid.setBackgroundImage("");
menuTreeGrid.setSelectionType(SelectionStyle.SINGLE);
menuTreeGrid.setScrollbarSize(0);
menuTreeGrid.setShowHeader(false);
menuTreeGrid.setFields(new TreeGridField("menuName"));
menuTreeGrid.setData(menuTree);
menuTreeGrid.getData().openAll();
menuTreeGrid.setIconSize(0);
menuTreeGrid.setShowDropIcons(false);
menuTreeGrid.setShowOpenIcons(false);
menuTreeGrid.setIndentSize(0);
But the Icon still appears in firefox as shown on the image. I added 1px red border to show it. (http://img172.imageshack.us/img172/6990/smartgwttreegridproblem.jpg)

And another question: Can I remove the empty ‘td’ or what it is, where the icon should be?
thanks.

