ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: mikep on August 12, 2021, 06:25:50 pm
-
I'm trying to add cell text, cell background color and hovertext to dynamic columns, by parsing a string. I'm not able to add the hovertext. Can the hovertext be added from the render function, similar to how I'm adding text and background color?
return { style: 'background-color:' + color, text: company, comment: hovertext }
https://jsfiddle.net/5mtx8uea/
-
hovertext is added as title attribute.
return {
style: 'background-color:' + color,
text: company,
attr: 'title="'+ hovertext + '"'
}
-
Thank you, that works. Adding this attribute activated the trackModel and all cells appear dirty (adding the text didn't activate this, only the attribute). How can I disable trackModel before applying the attribute so cells are clean? Disregard, this looks like the hover text indicator, which is nice to have.