gigaZhang / struts2-jquery

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

Attribute multiSort invalid for tag grid according to TLD #1094

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
1. In jsp create grid tag with multiSort="true" attribute

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

Which struts2 version?
3.7.0

Which struts2-jquery plugin version?
3.7.0

Please provide any additional information below.

Original issue reported on code.google.com by ivan.jar...@gmail.com on 8 Apr 2014 at 11:02

GoogleCodeExporter commented 9 years ago
Issue 1095 has been merged into this issue.

Original comment by johgep on 22 Apr 2014 at 6:43

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 22 Apr 2014 at 6:44

GoogleCodeExporter commented 9 years ago
Thank you for submitting a patch with Issue 1095. But just add this field to 
Grid.java is not enough. They must be mapped in the grid freemarker templates. 
As far I see there are also some more options related to multiSort.

http://jqgrid.com/jqgrid/demos/jqgrid-standalone/multi-column-sorting

multiSort:true,
sortname: 'orderdate asc, price',
sortorder: 'asc',

Original comment by johgep on 22 Apr 2014 at 6:51