Jqgrid does not initiate server side call -


sorry posting question. :( have spent entire day , need pair of eyes code.

os: windows frameworks: jquery (latest version), jqgrid (latest version), spring (latest version) db: postgresql tool: springsource tools suite

when type below url, xml data server. http://localhost:8080/myapp/deliveryjqgriddata

but below jqgrid call not call above url. dont error on spring tc server. alert message "enteredjqgrid". code below stored in deliveryjqgrid.jsp. same accessed through localhost:8080/myapp/deliveryjqgrid. have scrambled column names given below.

        <script type="text/javascript">         $(function(){             alert("enteredjqgrid");           $("#deliveryjqgrid").jqgrid({             url:'deliveryjqgriddata',             datatype: 'xml',             mtype: 'get',             colnames:['1col','2col', '3col','4col','5col','6col'],             colmodel :[                {name:'1col', index:'1col', width:55},                {name:'2col', index:'2col', width:90},                {name:'3col', index:'3col', width:80, align:'left'},                {name:'4col', index:'4col', width:80, align:'left'},                {name:'5col', index:'5col', width:80, align:'left'},                {name:'6col', index:'6col', width:150, sortable:false}              ],             pager: '#deliveryjqgridpager',             rownum:10,             rowlist:[10,20,30],             sortname: '1col',             sortorder: 'asc',             viewrecords: true,             caption: 'delivery list - jq grid'           });          });      </script>         

i have below div tags in body section.

        <table id="deliveryjqgrid"></table>      <div id="deliveryjqgridpager"></div>     

thanks in advance. update

i found following error on firebug. give clue?

b.jgrid.format not function  

[break on error] m+"'>"+b.jgrid.format(a.p.pgtext||"","... class='ui-separator'></span></td>"+

i found problem. loading /jquery.jqgrid.min.js before i18n/grid.locale-en.js in script tag. reversed order , worked!

thanks patience in helping me through silly mistake :)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -