Skip to content
Discussion options

You must be logged in to vote

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:

        <template v-slot:body-cell-myImageColumn="props">
            <q-td :props="props">
                <div>
                    <img :src="props.row.image">
                </div>
            </q-td>
        </template>

BR

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ontwikkelfabriek
Comment options

@iamshulz
Comment options

Answer selected by iamshulz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants