is it possible to make a thumbnail pop-up in a data grid chart?
i have an image i want displayed in a datagrid as a thumbnail. The ideal output should make the image pop-up when hovered on.
-
Official comment
Knowi's data-grid chart types supports HTML tags. For this, you can use the img tag
"<img src='//api.adorable.io/avatars/100/abott@adorable.png'>".
However to make it pop when hovering on the record, you can leverage the Lightbox class within the tag. For example:
'<a class="lightbox" id="img1"><img src="http://insomnia.rest/images/screens/main.png"></a>'
Here are a couple of examples:
- standard image: http://recordit.co/mlcqbXMGrb
- pop up an image on hover: http://recordit.co/bXwkq1hnqN
Comment actions
Please sign in to leave a comment.
1 comment