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
Column header title
11/01/2009
12:19
Avatar
blg
Member
Members
Forum Posts: 9
Member Since:
19/12/2008
sp_UserOfflineSmall Offline

Hello,

I have wrote an easy function it adds titles to columns headers.

It works fine under IE, safari, chrome, opera but not under FF3 (Firebug shows that the divs #jqgh_xxx have the right title attribute)

Do you have an idea for a workaround.

12/01/2009
10:00
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

It is good idea to read the docs. You can use the setLabel method, which do the same.

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.

12/01/2009
12:18
Avatar
blg
Member
Members
Forum Posts: 9
Member Since:
19/12/2008
sp_UserOfflineSmall Offline

I am sorry,

$(”#grid").setLabel(col_name, new_label,  {'title': wanted_title})

changes the column label but the title is not set (as firebug shows).

with

$(”#jqgh_”+col_name).parent().attr('title', wanted_title);

or

$(”#jqgh_”+col_name).attr('title', wanted_title);

either the th, either the div it contains get the right title attribute (checked under firebug), it displays well under IE, safari, chrome and opera but not in FF3

12/01/2009
12:24
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Sorry do not understand.

Also to do this we need to add a 4 parameter to this method, with wich help we can set attributes. The way that you try will not work since this parameter is set as css and not as attr.I willl add this ( the 4 attribute parameter) in final 3.4 release.

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.

12/01/2009
12:40
Avatar
blg
Member
Members
Forum Posts: 9
Member Since:
19/12/2008
sp_UserOfflineSmall Offline

OK

I return to my initial question: do you have any idea why FF3 does not display the title the th (or the div it contains) has?

for instance at http://bleguern.fr/blg/view/jq.....hp?lang=en

firebug shows:

<th class="grid_resize" style="width: 59px;" title="Jean-Marc Quarin"> ...

but FF3 does not display the title.

14/01/2009
08:05
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. The only think that I see is that to th element a preventDefault is used. This is the issue IMHO. But removing this will cause another problem in FF when we try to sort data. Also the problem for me is open.

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