column heading mouseover text

Questionscolumn heading mouseover text
Matthew asked 9 years ago

Hi,

Just wondering if it's possible to set the hover/mouseover for column headings. My intent is that when the user hovers over the column title they will see a help box that describes what's in the column.

Something like:

$col["title"] = "result";
$col["titlehover"] = "result = var1 * var2 / 3";
$col["name"] = "result";

Thanks

1 Answers
Abu Ghufran answered 9 years ago

This can be done with some tooltip plugin and bind header cell manually on loadComplete event of grid.

$opt["loadComplete"] = "function(ids) { ……………………. }";
$grid->set_options($opt);

TH Selector for grid 'list1' and column 'gender' would be:
jQuery("#list1_gender")

Refer faq: How to use 'qtip2' with PHPGrid.

How-Tos & FAQs

Your Answer

20 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?