link isn't working.
DavidT said:
Is it an error then in the Wiki here > http://www.trirand.com/jqgridw…..xml_string
I did try the backslash in th xml file but no luck. Not sure if it's to do with the page, total and record, or that it is mixxing the or a similar item but will test it a bit more.
Thanks
You sure that your XML data is formatted correctly?
Ahhh….when I added the slash after each XML line, Davidt's original code then worked fine.
Can you post how you resolved the conflict?
Was it by not substituting the dollar sign for writing out the long form “jQuery”? That's how I've solved some conflicts. Just curious how you solved it.
Can you post your code?
I have a working grid with inline editing, using almost the exact same code as you.
Just wanted to let everyone know that I found a good tutorial for editing data using jqGrid.
http://www.packtpub.com/articl…..gin-jqgrid
This tutorial uses JSON as a data exchange format, so it was useful to learn about this way of exchanging data, rather than the usual XML examples.
Note:
Ladies and Gentlemen, I am pleased to report that I figured out the solution to this problem.
The solution to adding fields to a Modal Box when Adding a New Row is to use the “editable” property to the ColModel that created the grid, as shown here:
colModel:[
Update:
After much experimentation, I can get either the server to pull data into a working grid, OR I can display a Add New Row dialog box containing the data entry rows, but I can't do both.
I'm not sure what I'm missing, and the documentation isn't clear on this.
I just discovered that the Add New Row function needs to go in the body, not the head, to work.
I moved the script below to the body, and now the Input Form pops open, but it contains no data.
Anybody know how to populate the input form?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top