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
Cell Edit + Ajax call locking grid
23/02/2009
06:26
Avatar
rojoba
Member
Members
Forum Posts: 15
Member Since:
06/02/2009
sp_UserOfflineSmall Offline

Hi

I've an issue I'm trying to figure out with little success. I've got a grid in celledit mode. I change a value of cell1, tab to the next cell2. Using the afterSaveCell event for cell1, i do an ajax post to get a value for cell2.. so i basically block_UI, $.post, set value for cell2 using setRowData. Now cell 2 is editable as well, however, I see the textbox for a short bit in cell2, but goes away quickly (this i did using an alert box). Cell2 has a value now, however, here's the issue. I can't click on it to edit.. and if I click anywhere else on the grid, the value dissappears. In fact, the whole grid cannot be edited now. I'm using 3.3 and thought of going to 3.4, however, the demo site's celledit page isn't working correctly. I change a value, and the whole row blanks out. So not sure what that problem is.

I need help please.

Thanks in advance,

Roger

23/02/2009
07:37
Avatar
rojoba
Member
Members
Forum Posts: 15
Member Since:
06/02/2009
sp_UserOfflineSmall Offline

Hi

I changed my ajax call to be done synchronously and it now works like I expected it to work. The tab from cell1 does not take me out of edit mode. Cell2 has the value from the result of the ajax call and remains in edit mode :D. Yippee! If you guys have any ideas, straight off the bat, on why the asychrounous call might mess up the cell editing on the grid, please let me know. When i have more time to investigate, I'll post my findings here. Or if I missed something.. pls post a link to the answer. I'd still like to know if I can use 3.4 which I'm tentative doing seeing that the demo isn't working and my quick update to 3.4 rendered the same results.

Kind regards,

Roger

23/02/2009
09:23
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks for this. I forgot to update the demo site to 3.4.1. Also please upgrade to this version.

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.

23/02/2009
09:52
Avatar
rojoba
Member
Members
Forum Posts: 15
Member Since:
06/02/2009
sp_UserOfflineSmall Offline

Great! Demo site working... I'll update now now.

Thanks Tony, and again for this great plugin! 🙂

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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