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
setting editable to false
26/05/2009
06:22
Avatar
Markus
Member
Members
Forum Posts: 15
Member Since:
15/04/2009
sp_UserOfflineSmall Offline

Hi

i set editable to false for a column, but the grid doesn't send the content of a column if i edit the row. This is problematic if a column is the primary key and i want that a user can edit it, but i need the primary key for updating the row.

Is there a workarround for that problem ?

Regards
Markus

28/05/2009
00:54
Avatar
xuding
xuding
Member
Members
Forum Posts: 36
Member Since:
15/11/2008
sp_UserOfflineSmall Offline

Hi Markus:

 as far as I  know, it will post the un editable column value from Jqgrid.

 please try to look at the problem other places.

Regards

The-Di-Lab

28/05/2009
09:10
Avatar
Markus
Member
Members
Forum Posts: 15
Member Since:
15/04/2009
sp_UserOfflineSmall Offline

Hi,

i looked at the post values with firebug the grid definitly don't send the uneditable value 🙁

Regards
Markus

28/05/2009
09:44
Avatar
ww9rivers
Member
Members
Forum Posts: 11
Member Since:
20/05/2009
sp_UserOfflineSmall Offline

You can do this:

editable:true, editoptions:{readonly:true}

for the field that you want to be posted but not really editable by the user.

My only concern with doing this is that the field will show up when you edit the row using form edit and it will appear to the user that it is editable but it really is not. But that's an optional workaround for you.

28/05/2009
10:10
Avatar
Markus
Member
Members
Forum Posts: 15
Member Since:
15/04/2009
sp_UserOfflineSmall Offline

thx 🙂

01/06/2009
12:44
Avatar
finedesignz
Member
Members
Forum Posts: 12
Member Since:
30/05/2009
sp_UserOfflineSmall Offline

Thanks for this workaround… however, when I implement this, my 'user_id' field from my subgrid sent to the server is blank.  It does not default to the 'user_id' for the selected user in the main grid.

How do I get the field to automatically insert the user_id of the selected user in the main grid?

04/06/2009
04:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

What do you use - inline edit, cell edit or form edit?

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:
23 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