Forum
Topic RSS
Hi,
Thanks jqGrid team, jqGrid is fantastic.
I have a problem with the latest release 3.3. In cell editing i can leave the edited field by using ESC or TAB, i must change the value in the field and press ENTER.
Once i press enter i get the error "no element found" (in firebug)
Here is my code:
jQuery(document).ready(function(){
jQuery("#dcgrid").jqGrid({
url:'/ISDCP/dca?column=ID,DEVICE_VENDOR,DEVICE_MODEL,JAVAME_VERSION_MIDP,INSHARE_SUPPORT_JAVAVERIFIED,UAPROF_NAME',
datatype: "json",
colNames:['Id', 'Vendor', 'Model', 'MIDP', 'JavaVerified', 'UserAgent'],
colModel:[
{name:'ID',index:'ID', width:10, align:"left",editable:false},
{name:'DEVICE_VENDOR',index:'DEVICE_VENDOR', width:20, align:"left",editable:false},
{name:'DEVICE_MODEL',index:'DEVICE_MODEL', width:20, align:"left",editable:false},
{name:'JAVAME_VERSION_MIDP',index:'JAVAME_VERSION_MIDP', width:20, align:"left",editable:true, edittype:'select', editoptions:{value:":Null;0.0:0.0;1.0:1.0;2.0:2.0;2.1:2.1"}},
{name:'INSHARE_SUPPORT_JAVAVERIFIED',index:'INSHARE_SUPPORT_JAVAVERIFIED', width:20, align:"left",editable:true, edittype:'select', editoptions:{value:":Null;Y:Y;N:N"}},
{name:'UAPROF_NAME',index:'UAPROF_NAME', width:200, align:"left",editable:true}
],
rowNum:20,
rowList:[20,100,1000],
imgpath: 'themes/basic/images',
pager: jQuery('#dcnavg'),
sortname: 'ID',
viewrecords: false,
shrinkToFit: false,
hidegrid: false,
sortorder: "ASC",
width: '800',
height: '100%',
toolbar: [true,"bottom"],
caption: 'Devices',
cellEdit: true,
cellsubmit: 'remote',
cellurl: '/ISDCP/dce',
subGrid : true,
subGridUrl: '/ISDCP/dca?columnasrow=true',
subGridModel: [ {
name: ['Column','Value'],
width: [250,200]
}],
loadComplete: function() {
var udata = $("#dcgrid").getUserData();
$("#t_dcgrid").css("text-align","right").html("Showing row " + udata.currentrow + " of " + udata.totalrows + " rows in " + udata.totalpages + " pages");
},
loadError : function(xhr,st,err) {
jQuery("#rsperror").html("<b>Response Error:</b>" + "Type: "+st+" Response: "+ xhr.status + " "+xhr.statusText);
},
toolbar : [true,"top"]
});
Can you help?
06:06
Moderators
30/10/2007
OfflineHello,
If this is the first column, there is a bug - which is corrected.
Hope to publish the bug fix soon.
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: 994
Currently Online:
20 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
Log In
Home