Forum


04:12

Moderators
30/10/2007

Hello,
Currently this is added dynamically. I plan to overcome this when you add a some class to that cell and set custom tooltip.
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.
22:20

22/12/2008

Thank you for your answer, but how is it possible? I need to set custom tooltip for each cell and all of these tooltips must be different. Do you meen i must add separate class for each cell?
And other question: how can i add class for cell? Manually by javascript? But each cell doesn't have id.. 🙁
Thanks.
07:14

17/12/2008

Each row does have an ID from 0-xx by default (top down). Or you can set it manually (json):
$responce->rows[0]['id'] = "this_row_id";
$responce->rows[0]['cell']=array("data_1", "data_2");
You can do it by XML too, check the docs for example.
Then use native jquery to fetch the cells in the row using children();
example:
alert($("#this_row_id").children().html()); // display first
alert($("#this_row_id").children().next().html()); // display second
alert($("#this_row_id").children().next().next().html()); // display third
Or use some foreach statement, whatever you like. Change/set classes too when you get the element you need.
If you're smart in setting it up, its shouldnt be too hard to create a function to create tooltips and get the content from AJAX. I you code each cell manually its gonna be a lot of work.
03:39

Moderators
30/10/2007

Hello,
The upcomming release fix this problem allowing to add custom tooltip.
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:
34 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