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
beforeEditCell event firing too soon when 'tabbing' over
11/05/2010
04:30
Avatar
tim
Calgary Alberta Canada
Member
Members
Forum Posts: 61
Member Since:
04/11/2009
sp_UserOfflineSmall Offline

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

11/05/2010
14:51
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

16/05/2010
02:27
Avatar
tim
Calgary Alberta Canada
Member
Members
Forum Posts: 61
Member Since:
04/11/2009
sp_UserOfflineSmall Offline

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

mousclick overImage Enlarger

Tabbing OverImage Enlarger

17/05/2010
16:23
Avatar
tim
Calgary Alberta Canada
Member
Members
Forum Posts: 61
Member Since:
04/11/2009
sp_UserOfflineSmall Offline

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

18/05/2010
17:06
Avatar
tim
Calgary Alberta Canada
Member
Members
Forum Posts: 61
Member Since:
04/11/2009
sp_UserOfflineSmall Offline

OK this is still a problem.

Moving my dataUrl from the setColProp directly to the editoptions fixed the 'tabbing' issue, but editoptions does not allow me to append the currently selected rowid.

Tony did you get a chance to look at this?Any feedback?

Please and Thanks,

Tim

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information