Forum
05:09
09/05/2014
jquery version is 1.10
grid version is 4.6
I have developed a method that uses the jqGridExport to get an XML string and save's it in a database.
then the user picks a grid configuration from a list of save configurations. the grid fetchs the configuration from the server.
we then unload the grid.
then we use the jqGridImport function to import the xml string.
we observe the grid widget making a call for data to the server and information is returned but at the end of this there is no grid just the table and pager elements in there unloaded state.
To get this working this far because we did encounter errors where the import was not properly parsing functions back into functions it was leaving them as strings.
I forked the jqGrid project on github and updated the grid source files to include what I had to change in order to make this work for me to this point.
my github user is kccarter76 and I have created a pull request so you can look at the changes that I made to the 4.6 source so far.
the id is #598.
do you know of any reason as to why the grid is not initializing or can you give me an idea where to look.
thank you
Kenneth Carter
18:37
09/05/2014
I was able to resolve the issue see pull request #598 on github for the code changes to the jq grid source located in the xml2json function.
the main issue is that the function and boolean values where never parsed back into there javascript equivalent. they remained as strings. resolving that parsing issue resolved the import issue.
11:01
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.
18:58
09/05/2014
I have done as you requested and created a new pull request.
https://github.com/tonytomov/jqGrid/pull/602
this is the new pull request
Most Users Ever Online: 715
Currently Online:
34 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