Export to GitHub

struts2-jquery - issue #463

Nested Subgrid


Posted on Mar 1, 2011 by Massive Bird

Hello , Iam new to struts2 - jquery project . i started implementing some of the features like date picker,grid ,tabbed panel panel.

I have requirement where i need to show nested subgrid(3 level ).i tried embedding grid tag inside one another as mention below to achieve this .

<sjg:grid>-- <sjg:grid>-- <sjg:grid>-- </sjg:grid> </sjg:grid> </sjg:grid>

But for some reason i can always get to first level subgrid but i never see further levels .i click on the view source and there i can see all grid getting set correctly one inside another but it doesn't reflect on the HTML page. Please help because this is something we must have .I have seen jqgrid demo with nested levels subgrid in php ,.net .Is it possible in struts2 also?

Please advise,

Regards tzuser

Comment #1

Posted on Mar 1, 2011 by Swift Lion

but a normal 2 level subgrid is working?

Comment #2

Posted on Mar 1, 2011 by Massive Bird

Yes normal 2 level subgrid is working but grid inside it is not . i don't even see + sign against each row in normal 2 level subgrid

-Thanks and Regards tzuser

Comment #3

Posted on Mar 3, 2011 by Swift Lion

http://code.google.com/p/struts2-jquery/source/detail?r=1358

With next Release a 3 Level subgrid is possible. Also i add an example for the Grid Showcase to demonstrate this feature.

Comment #4

Posted on Mar 3, 2011 by Swift Lion

You can try out the current SNAPSHOT from Maven Repository.

http://oss.sonatype.org/content/repositories/snapshots/com/jgeppert/struts2/jquery/

It should be possible to use current version of grid plugin with stable 2.5.3 jquery plugin.

Comment #5

Posted on May 6, 2011 by Swift Lion

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Grid-Plugin Milestone-3.0.0