tooltip

Questionstooltip
Nikos Pratikakis asked 5 years 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 5 years 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
Grid 4 PHP Framework
 
Nikos Pratikakis answered 5 years 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

13 + 20 =

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?