tooltip

Questionstooltip
Nikos Pratikakis asked 4 weeks ago

with the latest two builds the tooltip does not work anymore; is there a way to enable it again? maybe i need to change something in the new lib?

 

What i want is at columns with long text (or all columns) with mouse over to see the whole text

2 Answers
Abu Ghufran Staff answered 3 weeks ago

It is disabled due to performance issue in rendering higher number of rows on a page.

If you want to enable, in lib/inc/jqgrid_dist.php … search and replace:

// if ellipsed or icons -> show tooltip (disabled as too slow)
if (false && element[0].tagName.toLowerCase() == “td” && element.outerWidth() < element[0].scrollWidth

with:

// if ellipsed or icons -> show tooltip (disabled as too slow)
if (element[0].tagName.toLowerCase() == “td” && element.outerWidth() < element[0].scrollWidth

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
Nikos Pratikakis answered 3 weeks ago

You are right it is too slow on loading; maybe you can have it in mind for future upgrades (even for certain columns not all columns) as it was very useful.

Anyway thank you for your prompt relply

 

Your Answer

8 + 15 =

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 / 5. Vote count:

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

Let us improve this post!