Forum
18:20
19/02/2010
Hi,
I have just upgrade from jQgrid 3.8.2 to 4.1.1
I have lots of grid in my web site. Before clicking on a column it was sending an ajax request to the server with different parameter set :
'sord' // get the direction
'sidx' // get index row - i.e. user click to sort
'rows' // get how many rows we want to have into the grid
'page' // get the requested page
For param sidx in previous version I have the column name => for my column 'login' I have sidx = login in http request.
Now with the new version I have sidx = list_login => all my column names have this 'list_' string before. Of course to work it need a refactory of all my code.
I wonder if I missed something because I was not able to find any reference in the changelog to this 'list_' add to column name in case of clicking a column header.
If someone can tell me if I am doing something wrong or if I have to change all my code everywhere ;-(
Here is an example of one grid :
{name:'login', width:100, sorttype:'text', editable:true, editrules:{required:true}},
{name:'group', width:150, sorttype:'text'},
{name:'institute', width:150, sorttype:'text'},
Clicking on column header now give this in the http request :
sidx = list_login
or sidx = list_group
or sidx = list_institute
Thanks
Gael
18:45
Moderators
30/10/2007
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.
17:33
19/02/2010
Hi Tony,
Thanks a lot for your quick answer. I have modified my column def like this :
{name:'login', index:'login', width:100, sorttype:'text', editable:true, editrules:{required:true}},
{name:'group', index:'group', width:150, sorttype:'text'},
{name:'institute', index:'institute', width:150, sorttype:'text'},
and it works like a charm....
Thanks again for your wonderful work on this amazing lib
Gael
Most Users Ever Online: 715
Currently Online:
47 Guest(s)
Currently Browsing this Page:
1 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66