Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
no element found problem in Cell editing
22/10/2008
14:10
Avatar
vagn
New Member
Members
Forum Posts: 1
Member Since:
22/10/2008
sp_UserOfflineSmall Offline

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?

25/10/2008
06:06
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information