Forum
Using new cellEdit on jqGrid. Works fine when I change a field and hit enter. However, I also have formedit enabled to perform the saving of my data via modal dialog's ajax request (mention it as I am not sure if it has an impact on the issue). The fields I edit have "editable:true" set. Look at the colModel below. On some fields when I tab from them, even though I have not changed anything it will perform an ajax call to the server. On fields where I do make a change and tab from when to the next field, it also performs an ajax call to the server and the DB get updated. But on some fields (like Street Address 2, City and Zip, no ajax call occurs when I tab from them after having made no change to their content. if I do change their value and tab they do call the ajax routine.
So couple of questions:
1. is it supposed to perform an ajax call on tabbing from the field?
2. should it perform an ajax call when tabbing from the field, even though no change was made?
3. Why does tabbing on some fields cause an ajax call and others (that are also editable) not?
{name:'Id', index:'Id', width: 20, sortable:true, align:"center", editable:false, editoptions:{readonly:true,size:0}, search:true},
{name:'TypeOfAddress', index:'TypeOfAddress', width:60, sortable:false, align:"center", editable:true, edittype:"select", editrules:{edithidden:true,required:true}, hidden:true, resizable: false},
{name:'StreetAddress1', index:'StreetAddress1', width:120, sortable:true, align:"left", editable:true, editoptions:{size:10}, editrules:{required:true}},
{name:'StreetAddress2', index:'StreetAddress2', width:120, sortable:false, align:"left", editable:true, editoptions:{size:25}},
{name:'StreetAddress3', index:'StreetAddress3', width:120, sortable:false, align:"left", editable:true, editoptions:{size:10}},
{name:'City', index:'City', width:80, sortable:true, align:"left",editable:true, editoptions:{size:10}, editrules:{required:true}},
{name:'State', index:'State', width:80, sortable:true, align:"left", editable:true, edittype:"select"},
{name:'PostalCode', index:'PostalCode', width:40, sortable:false, align:'center',editable:true, editoptions:{size:10}},
{name:'Region', index:'Region', width:80, sortable:true, editable: true},
{name:'Country', index:'Country', width:80, sortable:true, editable: true, edittype:"select", editoptions:{required:true}}
08:43
Moderators
30/10/2007
Hello,
You are absolutley right. I will correct this and hope to publish this
as soon as possible.
Thank you
Best Regards
Tony
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:
27 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