Forum


10:00

Moderators
30/10/2007

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

19/12/2008

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

Moderators
30/10/2007

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

19/12/2008

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.
08:05

Moderators
30/10/2007

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.
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66