Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
jqGrid URL calling Spring controller
01/04/2010
18:50
Avatar
dorr
Member
Members
Forum Posts: 15
Member Since:
24/01/2010
sp_UserOfflineSmall Offline

this is my js.  This url works fine outside of the jqgrid.  Shouldn't it still go thru Spring and to the Controller?

jQuery(document).ready(function()
     {                        
                    jQuery("#stateList").jqGrid(
                    {
                      url:"../stateList.htm",
                datatype:"json",                                                                                                                                                                  
                      colNames:["State Id","State Code","State Name"],
                      colModel :
                      [ 
                              {name:"stateId", index:"stateId", width:70}, 
                              {name:"stateCde", index:"stateCde", width:100}, 
                              {name:"stateNameTxt", index:"stateNameTxt", width:200}       
                      ],                 
                      pager: jQuery("#pager"),
                        sortname: "stateNameTxt",                  
                        sortable: true,
                      sortorder: "desc",
                      rowNum:10,
                      rowList:[10,20,30],                      
                      viewrecords: true,                  
                      caption: "State List",
                        multiselect:true,
                        loadtext:"Loading...",      
                        loadonce: true            
                    }); 
      });             

03/04/2010
17:18
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Sorry I do not understand ????

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

03/04/2010
21:49
Avatar
dorr
Member
Members
Forum Posts: 15
Member Since:
24/01/2010
sp_UserOfflineSmall Offline

the grid is not calling my Spring controller

06/04/2010
18:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

If you do pure jQuery ajax like this

$.ajax({

url:"../stateList.htm",

complete: function(…){

...

},

});

is your controller called?

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

10/08/2010
10:57
Avatar
asb1986
Member
Members
Forum Posts: 7
Member Since:
05/08/2010
sp_UserOfflineSmall Offline

I have the same problem as above.... Normal $.ajax() call is succesfully calling the controller.... But jqgrid is not calling....

10/08/2010
19:13
Avatar
dorr
Member
Members
Forum Posts: 15
Member Since:
24/01/2010
sp_UserOfflineSmall Offline

Yep, I decided to go to ZK.  Works nice.

15/12/2010
13:39
Avatar
krams
Member
Members
Forum Posts: 7
Member Since:
12/12/2010
sp_UserOfflineSmall Offline

Check this tutorial I've wrote: http://krams915.blogspot.com/2.....ation.html

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
63 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information