How to insert image on QTable? #9541
-
|
I have created a table and followed some dummy data generation from the documentation however I have trouble implementing an image on the QTable as it has not even mention how to put images on the rows and mention It is broken No data displaying and image should popup on the avatar column but If I remove the I would like to request on the documentation that they include this type of examples and other else that are useful. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
@jamols09 Please create a codepen.io so we can provide better support. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Here my codepen example: Important is: e.g.: my column: and template: BR |
Beta Was this translation helpful? Give feedback.

Hi,
it's quite simple like it is described in the docs.
Here my codepen example:
https://codepen.io/nucle/pen/QWpmjEM
Important is:
body-cell-[field-name-of-column]
e.g.:
my column:
{
name: 'myImageColumn',
label: 'Image',
field: 'image'
}
and template:
BR