struts-community-plugins / struts2-jquery

Struts2 jQuery Plugin
Apache License 2.0
83 stars 51 forks source link

Issue upgrading from 3.7.1 to 4.0.3 #171

Open nazario1 opened 5 years ago

nazario1 commented 5 years ago

The following worked in 3.7.1 but is giving an exception in 4.0.3

uncaught exception: jqGrid - No such method: navGrid, also same error for navButtonAdd

          $("#myTreeGrid").jqGrid('navGrid','#myTreeGridPager',{view:false, edit:false, add:false, del:false, refresh:false, cloneToTop:true},{}, {}, {}, {multipleSearch : true}, {closeOnEscape:true})
          .jqGrid('navButtonAdd',"#myTreeGridPager",{caption:"", buttonicon:"ui-icon-refresh", onClickButton:envHandleRefresh, position: "last", title:"Refresh", cursor: "pointer"})

What replaced the navGrid and navButtonAdd methods? Is there an alternative syntax that will work instead? Thanks, Oscar Nazario LLNL

kjsnyder838825 commented 5 years ago

Oscar, I've started working this issue and it appears that the jqgrid support in the latest struts2 release does not include the treegrid libraries.

Is anyone out there monitoring this issue or have some suggestions as to a work-around other than not upgrading?