OMG!… okay, this is getting silly… I just feel stupid now.
That was it Tony… thanks.
tony said:
Hello,
It seems to me that you should concern not on the “grid delData bug”, but rather on what are the dynamic values you ask when you lunch deleting a grid row.
Agian the simple test is try to see if these values exists during this call.
By example you can get the dynamic values from edit in order to see that everthing work ok.
Happy debugging.
Kind Regsrds
Yep, I saw this and was writing my big reply below while you were getting back to me again. D'oh!
Thanks again!
Okay, this was certainly a bug (in MY code)… sorry for bothering you. But your reply DID help me to see my own stupidity.
My original (buggy) code was:
Thanks for the response, Tony.
I tried what you said, and indeed if I set the delData to static values, they're passed just fine.
So,
delData:{
I was having the same problem and this post fixed it for me.
However, I am now experiencing the exact same symptoms with delData (instead of editData). Is it possible that the bug still exists for delData? I've been looking at the jqGrid source to see if I can follow the logic in the delGridRow and postIt methods, but so far an obvious bug is not jumping out at me.
I *really* need to be able to pass in extra data when deleting a row. And for reasons I won't take the time to go into, the “id” that gets passed when deleting a row is meaningless (in my case).
So just to be clear: after patching my copy of jqGrid as described,
upon further investigation, I find that if I download jqGrid directly from GitHub (08/22/2011) I still see that bug with postdata. So, how is this fixed on GitHub? My problem is that I went into the source that I originally downloaded from the jqGrid site (not GitHub) and I fixed the line of code in the file jquery.jqGrid.src.js. Because this file has over 10,000 lines of code, I minified it using YUICompressor 2.4.6.
Everything initially worked after that, but now I cannot get the grid to load at all. I'm getting the error:
$t.rows is undefined
So, what do I do now? I've spent all day working on trying to get jqGrid to work properly, all the time thinking that I was doing something wrong, only to find out there's a bug in the source that was found over a month ago and still apparently hasn't been patched?
Am I doing something wrong on GitHub that I'm not getting the patched code?
EDIT:
it turns out that the $t.rows undefined error was due to the following code (my code):
Bah! I spent all day on this, searching the net (yes, including this forum), experimenting, etc. when I *FINALLY* ran accross this post about this being a bug. I patched my copy of jqGrid, but it'd be really nice if this were fixed in the download from the jqGrid site. 
Still jqGrid is the most extensive JS grid for jQuery around, and it's otherwise nice to use. The documentation could use a little work. I'm guessing that it's not originally written in English, and that may be where some of the confusion comes in. Anyway, nice work, and thanks for the bug fix! 
So, it turns out that the hidden column values will not post unless you have “editable” set to true in the colModel
colModel: [
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top