Hello
if your output is like this
{”d”:{”currPage”:1,”totalPages”:1,”totalRecords”:2,”users”:[{“id”:1, name”:”x1″, email:”e1″},{“id”:2,email:”e2″}]}}
you should not do anything.
I.e not data, but d. jqGrid support the d property generated from some Microsoft products.
Another possible solution is to use a datatype as function , where you can put what you want to the json parser.
See demos.
Best regards
Tony
Hello,
Could you please set this
|
1 |
$.jgrid.useJSON = false;<br /><br /><br />This does not turn JSON off. This turn off the build in JSON.parse in FF35, IE8,Chrome ... browsers<br />Also turning this option off will cause using of eval insted of buil in JSON.<br />The reason for this is trivilal - your output is performed with ' (single quote) INSTED OF " (DOUBLE)<br />The build in JSON does not like single quotes like {'myname':'Some'....} <br />insted you should<br />{"myname":"Some"...} in the response.<br /><br />Regards<br />Tony<br /> |
Hello,
Also maybe you should look into the code connected with the tabs creation/removing again
If the tab is removed the grid is removed too, since the grid element is a child of the tab div.
Will try to help if you provide a link to the problem.
Best Regards
Tony
Hello,
Currently no.
Regards
Tony
Hello,
Maybe you will need to check the examples and documentation.
Regards
Tony
Hello,
Where is this happen – fileterToolbar, filterGriid, searchFilter ?
Hello,
You should use filterToolbar instead. I do not see a code for this.
See demos.
Best Regsrds
Tony
Hello,
Sorry, the link does not work for me.
Best Regards
Tony
Helo,
As of the docs, thare are two possibilities – production and development – they are described very well in the docs.
Be a sure that you meet the order of loading the needed JS files.
Regards
Hello,
This is available, just look into the demos. Of course it is done jqGrid way.
We should not copy the things that other do.
Regards
Tony
Hello,
Yes it is possible. You will need to look in the demos on how to do it.
Regards
Tony
Hello,
Thanks. Also maybe you will need to look here
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods#column_chooser
Here you will find example how to do it.
Best Regsrds
Tony
Hello,
What does not work actually?
Hello,
Do not think it is abug. The default values just apper in the toolbar waiting the user to perform a action.
Also triggering the grid is not the right approach. You shoould use triggerToolbar instead.
Best Regards
Tony
Hello,
Thanks. Fixed in 3.6.2 – you can download it.
Best Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top