High-Performance UI Component Library for Enterprise Applications › Forums › Data Grid › styling the comments (tooltip)
- This topic has 2 replies, 2 voices, and was last updated 3 weeks, 3 days ago by
edwardsmarkff.
-
AuthorPosts
-
October 9, 2026 at 4:26 pm #113685
edwardsmarkff
Participanthi – i “discovered” the grid cell comment option which works MUCH BETTER than trying to use smart-tooltips in the grid.
what is the best way to style the comments? i have tried the following:
div.secondary.smart-grid-tooltip { /* this does not work in css but it does indeed work in the console */
. . height : 100px ;
. . width : 100px ;
}
div.secondary.smart-grid-tooltip textarea { /* this works fine! */
. . opacity : 0.50 ;
}-
This topic was modified 1 month, 3 weeks ago by
edwardsmarkff.
-
This topic was modified 1 month, 3 weeks ago by
edwardsmarkff.
-
This topic was modified 1 month, 3 weeks ago by
edwardsmarkff.
October 12, 2026 at 6:41 am #113690admin
KeymasterHi,
.smart-grid-tooltip is the CSS class for the Grid comments. It uses the –smart-surface and –smart-surface-color CSS variables i.e to apply a custom style you need to define the CSS class in your code and add new values to these properties.
Best regards,
MarkovNovember 9, 2026 at 6:30 pm #113726edwardsmarkff
Participantthis has been difficult for me, so i wanted to show what i have done so far.
i wanted the tooltip box to PARTIALLY show what was underneath (hidden); otherwise a user might not see this is a tooltip and they need to hover away to close it.
here is what i have done so far:
div.secondary.smart-grid-tooltip { background-color : transparent ; --smart-surface : rgba(107, 90, 90, 0.8) ; color : black !important ; width : 110px !important ; } div.secondary.smart-grid-tooltip > textarea { font-size : 20px ; }please let me know if any more of this should be done with the double-dash css variables instead of using “important!”.
-
This reply was modified 3 weeks, 3 days ago by
edwardsmarkff.
-
This reply was modified 3 weeks, 3 days ago by
edwardsmarkff.
-
This reply was modified 3 weeks, 3 days ago by
edwardsmarkff.
-
This reply was modified 3 weeks, 3 days ago by
edwardsmarkff.
-
This topic was modified 1 month, 3 weeks ago by
-
AuthorPosts
- You must be logged in to reply to this topic.