smartgwt - GWT : Draw lines in Tree widget background -
I know that one image is set as the tree's background and it has the option to repeat it if needed. But I want to draw horizontal lines in the background of the tree so that it looks like a table. The horizontal line should fit in the full width of the tree. How can I do this in GWT? help please.
This should work Add this class to your tree item:
.gwt-tree table {table-layout: fixed; Width: 100%; } .gwt-tree table TD: first-child {width: 18px; } .myTreeItem {margin-left: 0! Important; Padding: 3px 3px 3px 39px; } .myTreeItem, .myTreeItem & gt; Table {boundary-bottom: solid 1px # 464646; }
Comments
Post a Comment