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_Related Related Topics sp_TopicIcon
setRowData makes grid non-editable
27/08/2010
00:07
Avatar
mikek
Member
Members
Forum Posts: 4
Member Since:
12/06/2010
sp_UserOfflineSmall Offline

Given a grid with editable:true.  I can edit the column's cell for a given row.  But if I make the following call, the cell is no longer selectable.

jQuery("#idRemoteGridController").jqGrid('setRowData', row, {number : remote.getZoneNumbers()});

The cell is updated to show the zone numbers,  But clicking in the cell has no effect.  But if I then click in a cell for a different row, then the original cell becomes editable again.

Here's the grid config for the column

           {name:'number', index:'number', width:250, sorttype:"text", editable:true, classes:'jqGridText',
                    editoptions:{size:"37", maxlength:50,
                        dataEvents:[
                            {type: 'blur', fn: function(event) {
                               zoneChangeCallback(this.value, selectedRow, event);
                             }}
                        ]}},

I've also tried 'setCell' instead of 'setRowData' and I get the same result.

Help please.

Thanks

Mike

27/08/2010
05:31
Avatar
mikek
Member
Members
Forum Posts: 4
Member Since:
12/06/2010
sp_UserOfflineSmall Offline

Note this is jqGrid 3.6.5.  Maybe this was fixed in the just released version 3.8 ?  I'm hesitant to update now because we are days away from releasing our software, which has been throughly tested against 3.6.5.

27/08/2010
19:08
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

This is not a bug, but feature.

getRowDat and setRowData does not work in a editable inline fields. These thing are colored in red into the docs.

http://www.trirand.com/jqgridw.....ki:methods

This will not be corrected.

Kind Regards

Tony Tomov

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.

27/08/2010
23:07
Avatar
mikek
Member
Members
Forum Posts: 4
Member Since:
12/06/2010
sp_UserOfflineSmall Offline

Tony,

Thanks for your response.

Mike

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
36 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