
struts2-jquery - issue #632
OnClickGroup event not available in Struts2-jquery 3.1.1
Hello
Currently we are using Struts2 jquery grid 3.1.1 plugin and we have a requirement where we want to save the state of the rows which are collapsed .So whenever user opens a row and sort a column, on refresh the row should remain open and not collapsed.
I have seen an example on Jquery grid where to support such thing they added OnClickGroup event . this event got added to JqGrid 4.0 .it event fires after clicking group (to expand or collapse group). it has 2 parameters, group id (string) and collapsed (boolean). 'groupid' is a combination of grid id plus 'ghead_' plus the current count number in the grid view. 'collapsed' is current group's collapse status.
Please can you add the support for this in struts2 jquery plugin or is there an alternative available to take care of such situation .
Please advice.
Regards. tzuser
Please provide any additional information below.
Comment #1
Posted on Aug 22, 2011 by Swift Lion(No comment was entered for this change.)
Comment #2
Posted on Aug 23, 2011 by Massive BirdHello ,
Just wanted to know the status of the above mention issue as this one of our requirement . For the time being do we have any alternative that we can opt to achieve the above case .
Please advice.
Regards tzuser
Comment #3
Posted on Aug 31, 2011 by Swift LionWhere is this event definded? Can't find an example or an wikipage for this event.
Comment #4
Posted on Aug 31, 2011 by Massive BirdFollowing is link to Wiki where they have mention the changes and bug fixes if you follow the below link and look at Jqgrid 4.0.0 changes and bug fixes they mention the addition of OnClickGroup event in it.
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:change
Also another link which mentions how it's been implemented https://github.com/tonytomov/jqGrid/pull/102
-Regards tzuser
Comment #5
Posted on Sep 6, 2011 by Swift LionThank You for the suggestion. I have also added support for the onDblClickRow and onRightClickRow Events.
http://code.google.com/p/struts2-jquery/source/detail?r=1522
Comment #6
Posted on Sep 8, 2011 by Massive BirdThanks for adding support . is there a snapshot version that i can download to implement the behavior?
Regards -tzuser
Comment #7
Posted on Sep 14, 2011 by Swift LionYou can get the current SNAPSHOT from Maven Repository:
http://oss.sonatype.org/content/repositories/snapshots/com/jgeppert/struts2/jquery/
Comment #8
Posted on Sep 15, 2011 by Massive BirdThanks for the snapshot
-Regards tzuser
Comment #9
Posted on Nov 7, 2011 by Swift Lion(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium
Component-Grid-Plugin
Milestone-3.2.0