I think i solved it by including grid.formedit.js and grid.common.js in addition to jquery.jqGrid.min.js
In previous version we only had to have jquery.jqGrid.min.js file included.
Why the change?
Hi Matthew!
Never mind — I think I found it! You example was very helpful and got me going in the right direction.
Sloan
Matthew said:
Mmm my post tells you one of the available formats…
btw who is Jason O_o
Sorry 'bout that Matthew!, must have been cranial flatulance on my part.
I must be confused. In reading your post above, it appeared to be just the format to send to the server. I'm an ASP (classic) programmer, so the PHP examples haven't helped. I guess I'm wondering how the submit to the ASP program will look. For instance, what is the name of the submitted info in the request object? How do the rows appear when saving data from the grid?
My guess from your example is that I'll get a form value for each of the parameters (i.e. page, pagesize, sortiindex, and sortdirection) If I specify each column in a row, will I receive a form value for “row”, and then the fields in the row?
Thanks for your patience!
Sloan
Hi Jose. Thanks for getting back to me. It's just a regular hyperlink. no Javascript for the link at all. It's really just simple html.
Here is the code I extracted from the page using firebug:
<a
is it just an hyperlink or you use javascript for calling a function?.
I had this issue and was because i was calling in that way:
<a href=”javascript:openWindow(…)”….
I changed this to:
<a href=”javascript:void(0);” onclick=”openWindow(…)”…
and that worked.
pikachoo5 said:
Post edited 10:02 – 14/08/2009 by pikachoo5
Post edited 10:02 – 14/08/2009 by pikachoo5
Post edited 10:03 – 14/08/2009 by pikachoo5
Post edited 10:05 – 14/08/2009 by pikachoo5
Post edited 10:12 – 14/08/2009 by pikachoo5
Hi I have been using 3.4.4 in a project and wanted to upgrade to 3.5.2. However version 3.5.2 seems to throw a syntax error after calling the url that fetches the json response.
avagarwal said:
Hi,
The issue is resolved, it seems we were were using an older version of the code. However we are facing a strange issue with the integrated tool bar search feature. If we enter search values in 2 or more columns and do a search, then after that remove all the values except 1, then the search is not working. All the paremeters are being sent back to the server. On your demo site, it is working fine, but if you download the demo site code, and try then you can see the issue.
What may be the reason for the same.
Thanks
Anurag
We
Dear Tony,
In line 86 of grid.inlineedit.js:
if( $t.p.colModel.hidden===true) { tmp[nm] = $(this).html(); }
else {
glemarie said:
Hi,
I posted the same problem earlier today
It's solved in 3.5.1 since yesterday
We
Hi Tony,
Great grid, thanks for this control.
No idea sorry
Mmm my post tells you one of the available formats…
btw who is Jason O_o
Hi tony,
I tried using the daterangepicker with dataInt – Nothing happens, cell gets selected and grid freezes. I don't know if it is compatible with jqGrid.
so I swithced to datepicker jquery ui – although I have one problem. my dateformat is set to “mm/dd/yyyy”. When there is date in the cell already (08/20/2009) and click on the cell, date picker comes up and I select a date for example the 8/21/2009 – then it inputs the following in the cell 08/21/20092009
Is this a bug or I am doing something wrong.
{
Matthew said:
If you're going to be posting JSON you're probably better of using a custom data function like this..
setup your grid with the datatype option set as
datatype : function(pdata) { getData(pdata); }and here is the function…. note the params object which is what i send JSONified to my webservice… which can be anything you want… and in my case the data that gets sent is…
{”page”:1,”pageSize”:25,”sortIndex”:”id”,”sortDirection”:”desc”}see how they match my “params” object …
This is in the options of the grid
"deselectAfterSort":true
thats the default.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top