ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: edevanel on February 16, 2017, 03:30:53 pm

Title: add a tooltip with html code in PQGrid cell.
Post by: edevanel on February 16, 2017, 03:30:53 pm
Hello, I'm new on this forum.
I have a PQGrid table and I want to add  tooltips with html code linked to specific cells.

Exemple :
cell :
Code: [Select]
A/B/CtoolTip :
Code: [Select]
A : First letter </br> B: Second Letter</br> C : Third Letter
I'm working with
/**
 * ParamQuery Pro v3.0.0
*/

My table is use local pages.
I use render function to display title ou links.

I try to find a solution on PQGrid doc and forum.
Could you help me?
Etienne
Title: Re: add a tooltip with html code in PQGrid cell.
Post by: ali on February 25, 2017, 10:03:19 pm
In the render function return html with title='tooltip' - what ever text you set in the title attribute will appear as tool tip in most browsers. See for more info;

https://www.w3schools.com/tags/att_global_title.asp