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
Using "Tab" or "Enter" in editing a datepicker cell will cause a javascript exception
10/09/2010
21:16
Avatar
sowenzhang
Member
Members
Forum Posts: 3
Member Since:
04/09/2010
sp_UserOfflineSmall Offline

It seems the jQuery library datepicker is trying to do something after hitting one of those keys, but jqGrid has removed the datepicker control, so the object (picker) becomes null.

Even the jqGrid demo page has this issue.

Is it really a bug in jqGrid or in JQuery library?

Or does anyone know a workaround?

Thanks!

11/09/2010
13:34
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I'm not sure that I understand. Please describe in detail how to reproduce 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.

13/09/2010
16:17
Avatar
sowenzhang
Member
Members
Forum Posts: 3
Member Since:
04/09/2010
sp_UserOfflineSmall Offline

in this page

http://trirand.com/blog/jqgrid.....qgrid.html

go to the cell editing demo

click any cell under the Date column (the cursor is focusing on the cell and the cell is in the editing mode), press "TAB" or "Enter" key, it will popup a javascript error due to the JQuery Datepicker is still trying to access the picker, but JQGrid has destroyed the whole textbox.

18/09/2010
11:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,
Ok. Thanks. Will be corrected.
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.

13/10/2010
02:01
Avatar
justinb
New Member
Members
Forum Posts: 2
Member Since:
13/08/2010
sp_UserOfflineSmall Offline

I'm having the exact same issue. Any sort of simple fix that could be applied?

23/10/2010
19:10
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

There is not a bug in jqGrid, but in dateopicker UI in  function _doKeyDown

...

    _doKeyDown: function(event) {
        var inst = $.datepicker._getInst(event.target);
        var handled = true;
        var isRTL = inst.dpDiv.is('.ui-datepicker-rtl');
...

There is no checking if inst  variable is undefined.

Will create a ticket.

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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