Forum


06:26

06/02/2009

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
07:37

06/02/2009

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

Moderators
30/10/2007

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.
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66