awaisalvi / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Multi Select Grid #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I am building Multi Select Grid. The requirement is the user should able 
to select some rows in first then navigate to the next page. In the second 
page the user can select some rows. Once he is done with his select the 
user will go to the confirmation page where he submit his changes.

The problem is the selected ids values are not passing as param when we 
sort or navigate to next page.

What is the expected output? What do you see instead?

I am expecting the ids can be passed as param when we do sort or next page.

Which struts2 version?
Struts 1.8.1

Which struts2-jquery plugin version?

struts2-jquery-plugin-1.8.3

Please provide any additional information below.

Original issue reported on code.google.com by mamo...@gmail.com on 2 Mar 2010 at 7:57

GoogleCodeExporter commented 9 years ago
I recommend to create this as Issue for jqGrid at github.

http://github.com/tonytomov/jqGrid/issues

A workaround can be to select the selected ids in an onBeforeTopics
or an onPagingTopics and safe them.

$.subscribe('myOnBeforeTopic', function(event,data) {
  var selectedIds = $("#gridmultitable").jqGrid('getGridParam','selarrrow');
});

I close this Issue because it is not releated to this plugin,
feel free to reopen it when you think there are a task for struts2-jquery 
plugin.

Original comment by johgep on 3 Mar 2010 at 11:06