11 Jan 2013 7:35 AM #1
Borders didn't shows on the TreeGrid
Hi folks, looks like its a bug.
add this to the tree :
expacted: borders like on the filtergrid
env: gxt 3.0.1 community version
18 Jan 2013 10:59 AM #2
I just ran your sample, shared in #extgwt on IRC, and that is built with 3.0.0 (gxt.version is set to 3.0.0), and the stripped rows are working correctly, but the column lines are not. When I changed the GXT version to 3.0.1 (available in maven central), the column lines showed up.
The sample at http://www.sencha.com/examples/#ExamplePlace:filtergrid (or http://www.sencha.com/examples/explo...ace:filtergrid to see it in blue) is running using 3.0.1, which is available in maven central. In fact, that exact war file is also available in maven central under com.sencha.gxt:gxt-examples:war:3.0.1.
As far as borders, here is the actual code sample from within org.opensheet.client.RequestFactoryTreeGrid:
tree = new TreeGrid<BaseProxy>(store, cm, cc1); tree.getStyle().setLeafIcon(ExampleImages.INSTANCE.folder()); tree.getView().setForceFit(true); tree.getView().setAutoExpandColumn(cc1); tree.setLoadMask(true); //TODO ? tree.getView().setStripeRows(true); tree.setBorders(true); //TODO ? tree.getView().setColumnLines(true);
All of these changes are in a diff from your initial simple project in this patch:
Without more details, I am marking this as 'closed' - but feel free to comment to clarify any points I may have missed.
18 Jan 2013 12:21 PM #3