Forum
04:30
04/11/2009
In cellediting I have a beforeEditCell event that stores the cellname in a global variable and an afterSubmitCell event that makes an ajax call passing the cellname (stored in that variable) to the server.
Problem:
When editing a cell If I mouseclick the next cell over, (not hitting enter) the cellname passed into the afterSubmitCell event is the cellname of the cell I just came from. If instead I 'tab' (while editing) to the next cell over the cellname passed into the afterSubmitCell event is the cellname of the cell I just tabbed to.
I think this is a bug since selecting and tabbing shouldn't have different event sequences.
tim
14:51
Moderators
30/10/2007
Hello,
Thanks will chack this.
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.
02:27
04/11/2009
Hi Tony…. I created a link to the problem:
http://blackstag.com/jqDemo/de.....;PAGE.html
Some how the event's are not working between the mousclicking over and tabbing over.
Note that the example post twice to the server, once is the onchange event and the other is the standard submitcell event… (The reason I need 2 post events is for chaining selectboxes. Although this example does not show it – the onchange event posts the change, so the second selectbox gets the update when mouseclicking over).
Also here are some screen shots:
Picture 1. Mouseclicking the next cell over.
To Replicate: Edit Caption field, but do not hit enter. Instead mouseclick to the next field over (to status).
Picture 2. Tabbing over.
To Replicate: Edit Caption field, but do not hit enter. Instead hit tab.
Thanks for your help.
tim
16:23
04/11/2009
This is no longer a problem for me, I stopped using 'setColProp' and went to straight to editoptions.
I will leave the example up for a bit, since I still think it's a bug that should be fixed.
Also, I have noticed that using 'setColProp' on editoptions destroys any use of the other already define editoptions existing in the colModel settings (which seems buggy too).
Thanks,
tim
Most Users Ever Online: 715
Currently Online:
27 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