GerkinDev/vuejs-datatable

Allow HTML code to be inserted in table

tgbv opened this issue · 1 comments

tgbv commented

Hello. How can I allow HTML table to be inserted in rows?

tgbv commented

We can do so by adding interpolate: true to our column setup:

columns: [
	{
		label: 'Name',
		field: 'user.full_name',
	},
	{
		label: 'Action',  // this column will allow HTML tags in it's rows
		field: 'action',
		interpolate: true,  
	},
],