Hello Bastien,
you should just use height option of jqGrid. For examplle, height: 300, height: 'auto'
Hello Paul,
I am glad to read that your program is work now.
You are right, there are a mistake in the documentation of jqGrid. Fortunately the documentation is wiki-documentation and everybody can change it. So I fixed the corresponding place in the documentation just now.
Good luck
Oleg
Hello Paul,
the JSON data which you posted in your first question and which I used in my answer (and my demo too) was correct JSON data. The ROWS property was array of arrays ({“ROWS”:“1”,…],[“2”, …, …).
Hello Paul,
You wrote, that you used Firebug to examine the server response. Which value has Content-Type header of the server response?
Hello millfreedom,
You are definitifely wrong in the first example because you used the same id=”jqGridTable” twice on one HTML page. The ids must be unique
Hello Tempel,
the options recreateFilter: true
Hello Paul,
you should don't forget, that JSON, like JavaScript, is case-sensitive. So you have to chanage the JSON data produced on the server to
{
Hi,
if one use datatype: 'jsonstring' the value of datastr parameter can be not only the string, but just the object which represent the data. Another possibility is to use datatype: 'local' and the input object provide as the value of data parameter.
If you want really manipulate the data received from the server you can do this inside of beforeProcessing callback function. Inside of the function you can make any changes in the data recieved from the server before the data will be processed by jqGrid.
Best regards
Oleg
Not a problem. You are welcome!
You wrote “this complex example”, but not posted any URL. Where is your demo which has any problem?
Look at the demo for example. The recent change in the code was described in the bug report.
Regards
Oleg
Hallo Tony!
I tesed the code, but it would be very good if you test it also carefully.
To make youe easy to read the code the following comments can be interesting for you.
I made some changes in code of getXmlData which I originally posted. It's small changes in the RegEx (parameter of expr.match) and the last lines of getXmlData. New version of the code is
getXmlData: function (obj, expr, returnObj) {
Hello Tony!
You can find
Hello Paul,
if you need make any modifcation in the jqGrid code you need use jquery.jqGrid.src.js instead of jquery.jqGrid.min.js. If you really need to use the file in production you can create minimized version of the file yourself. To do this you can choose any your favorite minifier. Just search in internet for the words JavaScript and minifier and you will find many versions from there. Every has its advantages and disadvantaged. The first well-known minifier was JSMin. There are Closure Compiler,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top