Additional field in in grid to display on mouse over

QuestionsAdditional field in in grid to display on mouse over
Dean Perry asked 9 years ago

In the interests of saving space I am wondering if you can control the title mouseover in each grid row to include additional information, e.g. an address

SO THIS:

$col["name"] = "company";

<td role="gridcell" style="" title="XYZ Company" aria-describedby="list1_company">100</td>

COULD BECOME

$col["name] = "company";
$col["extrastuffonmouseover"] = "address";

<td role="gridcell" style="" title="XYZ Company – 123 High Street" aria-describedby="list1_company">100</td>

1 Answers
Abu Ghufran answered 9 years ago

What you do here is to define & hide the address column.
And in company column settings,

$col["default"] = "<span title='{address}'>{company}</span>";

{col-name} is replaced with named row data in 'default' html code.

Your Answer

13 + 18 =

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?