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
Not populating after toolbar search
07/05/2012
15:32
Avatar
Kino
New Member
Members
Forum Posts: 1
Member Since:
07/05/2012
sp_UserOfflineSmall Offline

SORRY I MENT NAVGRID SEARCH

after introducing some value inside the search form and pressing the button Find, I get the correct return result into the PHP code in json (echo json_encode($responce);) but the grid doesnt repopulate with the new data and keeps the old one. This is the in the HTML part :

$(function(){

$("#list").jqGrid({ url:'search.php?q=1′,

datatype: 'json',

height: '500′,

width : '920′,

autowidth: "false",

shrinkToFit: "true",

mtype: 'POST',

colNames:['Articolo','Marchio', 'Collection'],

colModel :[

{name:'Articolo', index:'Articolo', width:400},

{name:'Marchio', index:'Marchio', width:400},

{name:'Collection', index:'Collection', width:400, align:'right'}

, ],

pager: '#pager',

rowNum:30,

rowList:[30,60,90],

sortname: 'Articolo',

sortorder: 'asc',

viewrecords: true,

gridview: true,

caption: 'Test' });

jQuery("#list").jqGrid('navGrid','#pager',{add:true,edit:true,del:true}); });

What's wrong ? Shall I use a trigger or reload or what ? Sorry for the stupid question but I'm reading the manual of version 3.4 and I can't find any answer. Actually the server doesnt pass to jqGrid the filtered data All this only works with loadonce:true, Can you give me a Hint ? Thanks

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
73 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.com

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information