Forum
11:34
26/06/2012
After upgrading from 4.3.3 to 4.4.0 i found 2 small problems:
- onRightClickRow don't prevent anymore showing the browser right click menu (using contextmenu my menu is behind the browser menu now)
-with jqmodal and the form editing the button bSubmit (in italian "Invia") in the modal dialog doesn't make the ajax call (editurl), and ends with this error (taken from the Chrome js console):
Uncaught TypeError: Object function (a,b){return new c.fn.init(a,b)} has no method 'type'
This is how I setup my pager:
$("#listParametri").jqGrid('navGrid','#pagerParametri',
{search: false, view:false, edit:false, del: false, refresh: false, addtext: "Aggiungi"}, //options
{}, // edit options
{reloadAfterSubmit: true, closeOnEscape:true, top: 250, left: 400, width:350, resize:false, drag: false, closeAfterAdd: true, recreateForm:true, onInitializeForm: remapInputNameAdd, afterSubmit: manageServerResponse}, // add options
{} // del options
);
the function remapInputNameAdd works but manageServerResponse is never reached
sorry but I didn't manage to replicate these errors in the demos
both of these errors didn't happened in 4.3.3
14:14
Moderators
30/10/2007
Hello,
I do not thisnk tha the problem is in the grid, but rather in the code and what you ask in the ajax request.
The form editing is not changed from 4.3.3 to 4.4.0 you can check this.
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
09:45
26/06/2012
tony said:
Hello,
I do not thisnk tha the problem is in the grid, but rather in the code and what you ask in the ajax request.
The form editing is not changed from 4.3.3 to 4.4.0 you can check this.
Regards
Hi, tnx for the reply...
As I said before the same code works perfectly with 4.3.3, and you too wrote that the form editing is not changed: so the error is surely with 4.4.0
btw I'll check, but if the jqgrid documentation is the same i don't know how to change my code to try...
13:10
26/06/2012
ok found the problems:
- onRightClickRow with 4.4.0 shows the browser right click menu and with 4.3.3 don't:
to fix this I need to call event.preventDefault(); in the function
- form editing don't work with jquery 1.4.2; with the updated version (1.7.2) works. Maybe you have to write what legacy version of jquery are no longer supported with the newest version of jqgrid
Cheers
13:55
Moderators
30/10/2007
Hello,
I'm little confused - in your first post you say:
After upgrading from 4.3.3 to 4.4.0 i found 2 small problems:
- onRightClickRow don't prevent anymore showing the browser right click menu (using contextmenu my menu is behind the browser menu now)
but in your last post you say too:
onRightClickRow with 4.4.0 shows the browser right click menu and with 4.3.3 don't:
I do not know which is the right one.
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
52 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66