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
JqGrid inline edit not working for non-frozen columns in a grid with frozen columns
31/05/2012
18:08
Avatar
skore_80
New Member
Members
Forum Posts: 2
Member Since:
31/05/2012
sp_UserOfflineSmall Offline

We have developed grid using jqgrid(4.3.2) with 20 coulmns. First four columns are frozen and last column is hidden. Last but one column is editable checkbox (using inline edit), see below snippet from colmodel,

***{name:'carryoverToNextYear',index:'carryoverToNextYear', sortable:true, search:false ,width:60,align:"center",editable:true,edittype:'checkbox', editoptions:{value:"true:false"},formatter: "checkbox"}*** 

onSelectRow, we are making the selected row editable and previously selected row is restored or saved based on condition.See below code snippet each of the function.

Edit Row code: $("#ciList").jqGrid('editRow', id, false); 
Restore row:$("#ciList").jqGrid('restoreRow',editrowId) ; 
Save Row: $("#list1").jqGrid('saveRow', editrowId )  

First time when I click on any one row it becomes editable, but subsequent row clicks(after calling either restore or save), grid becomes not editable meaning when I click on any other row onSelectRow is not called. Please help.

Note: Also everything seems to work fine when I remove the frozen columns. Also I know inline editing does not work for frozen columns and one column I am talking about is non-frozen column.

04/06/2012
16:34
Avatar
skore_80
New Member
Members
Forum Posts: 2
Member Since:
31/05/2012
sp_UserOfflineSmall Offline

Hi, Can someone look into this? Is this the limitation of jqGrid? So that I can start working on some custom solution

Forum Timezone: Europe/Sofia

Most Users Ever Online: 496

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