Hi Richard!
It's pitty, that trirand forum has no “mark post as unreaded” feature. Last time I unswer on meny questions in the forum and almost forget about your post.
Now I read it and find out that on the http://www.baupartners.nl/jqGrid/ you load grid.formedit.js twice. The fitst time it is loaded before loading grid.base.js. Try to remove the line
before the line
best regards
Oleg
To the first problem. It is bad if you use complex method to build rowIds and it is very bad if they have come exotic characters. You should understand that rowIds will be used as ids of HTML elements of row (
Which id has you table element of the jqGrid: “list” or “gridid”? In your code you use both.
Your JSON data has “i” instead of “id” (for example “i”: 123456).
The data which you pasted can not be verified in http://www.jsonlint.com
Sorry but I not really understand your question. You posted code without enough description what you want
There are different ways to implement what you want. For example you can place table and pager inside a div:
Hi!
Could you post a code example with the test JSON data which could be used to reproduce your problem?
Regards
Oleg
Hi MSE!
Sorry, but I don't understand what do you mean under “5 buttons that will access 5 different sections of data”. Could you explain this more detailed in other words.
Regards
Oleg
Look at this example, which I created for this answer on the stackoverflow.com. It seems to me you can create your implementation based on my example. You can examine in IE8 Developer Tools or in Chorome/Firefox Firebug/Developer Tools the ids of the search toolbar. They will be built from like gs_Name, gs_Category, gs_Subcategory, where Name, Category and Subcategory are the names of the columns.
You can use construct like
$(“#gs_Name”).focus().trigger({ type : 'keypress', charCode : 'A' }).trigger({ type : 'keypress', charCode : 13 });
to simulate press 'A' and Enter in the 'Name' column of grid.
Best regards
Oleg
Hi!
In general you data and jqGrid seems almost OK. After replacing some ″
To be able to help you you should post the JSON data which makes the problem: 2-3 line of data wold be OK (if you want test local paging you can send 6 rows and set rowNum: 5).
One typical problem could be that you used
Hi Stephen!
I would you set recreateForm: true
If your beforeSubmitCell function will returns an object it will be combined with the postdata. For example is you fill use
Look at my suggestion from /blog/?page_id=393/bugs/case-insensitive-local-searching/
It's OK Stephen. The most important that the documentation has correct and not wrong information. Some releases before formid parameter was really form id, now it is jQuery form object. I personally would be better to rename the parameter from formid to form in the documentation.
Best regards
Oleg
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top