gigaZhang / struts2-jquery

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

Grid with searchoptions and defined dataUrl is broken #906

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The grid does not work when a gridColumn Tag has a specified dataUrl in the 
searchoption.

<sjg:gridColumn ... search="true" searchoptions="{sopt:['eq','ne'], 
stype:'select', dataUrl : '%{roleurl}'}" ... />

Problem is a missing Point in Line 483 of jquery.grid.struts2.js.

if(col.searchoptions.dataUrlindexOf("rowid") > 0) {

should be 

if(col.searchoptions.dataUrl.indexOf("rowid") > 0) {

Original issue reported on code.google.com by johgep on 22 Oct 2012 at 11:17

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/struts2-jquery/source/detail?r=1743

Original comment by johgep on 22 Oct 2012 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 17 Dec 2012 at 1:20