Forum


21:27

24/07/2009

hi guys
firstly, I am really enjoying using jqgrid so thanks to everyone involved. However I have an issue. I have created a grid which loads its data from a php file which send JSON data to the grid. It displays absolutely fine as a standalone, but when I try to AJAX load it into a div on a different page, it just comes up blank. I'm using the same style sheets so I don't think that is the issue, and the scripts are loaded into the holding page - other pages which use jquery are loading fine so I am a bit stuck - anyone have any suggestions?
thanks in advance!
07:49

24/07/2009

hi guys, here is an update for anyone that can help. I changed the code so that the jquery grid command is actually used to load the grid into the div, which seems to be fine. however, it only works the first time. If I try to reload the grid with different parameters, it doesn't work.
Can the grid only load once at the start? Basically what I need is a 'search results' pane which is a grid inside a div showing search results from a database. However these results can vary and they need different grids as some searches have different columns that need to be shown. So I need to be able to reload a new grid into the same pane.
Any ideas? thanks again
Most Users Ever Online: 715
Currently Online:
69 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