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
colModel name property issue, odd behavior with spaces, errors with special characters
24/02/2009
11:23
Avatar
xtrmcheeze
Baltimore, MD, USA
Member
Members
Forum Posts: 4
Member Since:
24/02/2009
sp_UserOfflineSmall Offline

Hi,

I have noticed an issue when using jqGrid 3.4.2, Firefox 3.0.6, and jQuery 1.3.1 and using the modal edit form. When there is a space character in the name property of any colModal, the data in the edit form will load only when the edit form is called the first time, but hitting the prev. or next buttons will keep that initially loaded value and not change to the value in the next record. It doesn't throw any errors, but maybe it should.

Also, I found that if there is a special character (#, $, *, etc.) in the name property of a colModel, the data loaded into the edit form will be correct the first time, but when the prev. or next buttons are clicked, the following error will show up in firebug:
"'Syntax error, unrecognized expression: $' when calling method: [nsIDOMEventListener::handleEvent]" Where $ is the special character found in the name property.  This might be related to Jean's bug post a few days ago.

This doesn't just occur in when hitting next or prev. buttons, it also happens when the form is closed, a new record selected, and the edit form is loaded for that new record.

I hope this all makes sense, please let me know if you need any more info regarding this.

-Chris

25/02/2009
10:17
Avatar
xtrmcheeze
Baltimore, MD, USA
Member
Members
Forum Posts: 4
Member Since:
24/02/2009
sp_UserOfflineSmall Offline

I just wanted to follow up on this...

I dont think this is a bug as much it is a need for change in documentation, the current documentation says it needs to be a unique name, but does not warn the user about using spaces and/or special characters. I'm sorry for filing this under bugs.

26/02/2009
21:10
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. Yes this is true, since the name is used as id when we construct the form.

Will be changed as soon as possible.

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:
40 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