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
Cell edit - space after click
23/03/2009
15:24
Avatar
majkel
Member
Members
Forum Posts: 69
Member Since:
10/11/2008
sp_UserOfflineSmall Offline

When user click at the empty field in cell edit, sometimes there is space character already typed in. I often have an empty char(Â ) in a front of word in my DB.

when ex. 'r' char is inserted to DB. I have somtihing like this in DB: 'Â r'

when I insert empty char by my self in a front of 'r' char I have in DB :' r'

'trim' function from PHP doesn't work to remove  'Â r'

I checked something like this:

“SELECT name,HEX(name),LENGTH(name) FROM currency c;”

It gives:

 Â r,C382C2A072,5

 r,2072,2

It looks like that is somthing dfferent than empty char.

Try to click twice on empty field in cell edit

Greetings

Majkel

24/03/2009
02:04
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Do not understand what is thep roblem, but...

When we have empty cell jqGrid add nbsp in order to show borders (IE bug).

When the cell is edited (in all edited modules) the empty cell is converted to empty string and when we save empty value we again add nbsp.

Some databases like PostgreSql add spaces when you use db type of type char.

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.

24/03/2009
09:46
Avatar
majkel
Member
Members
Forum Posts: 69
Member Since:
10/11/2008
sp_UserOfflineSmall Offline

Mozzilla 2.0 and IE 6 works fine. Such behaviour is in Chome 1.0.154.48

Greetings

Majkel

25/03/2009
10:35
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Chrome is just in beta 😉

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.

25/03/2009
19:14
Avatar
majkel
Member
Members
Forum Posts: 69
Member Since:
10/11/2008
sp_UserOfflineSmall Offline

Ups.. Sorry 😉

Greetings

Majkel

30/03/2009
04:37
Avatar
ral
New Member
Members
Forum Posts: 2
Member Since:
21/07/2008
sp_UserOfflineSmall Offline

I had the same problem, Chrome may be in beta, but it happens in opera too.

I finally edited inlinedit.js

line 97: elem.value = $.trim(vl);

with the trim works just fine.

30/03/2009
06:04
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks

Best 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:
44 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