Add custom HTML for data rows generated using VueJS DataTables plugin
Add custom HTML for data rows generated using VueJS DataTables plugin
![kkochanski](https://secure.gravatar.com/avatar/82a57e487a51dff104cdc9de2922848a/?default=https%3A%2F%2Fvanillicon.com%2F82a57e487a51dff104cdc9de2922848a_200.png&rating=g&size=120)
I like the current documentation - https://datatables.net/manual/vue, although it's missing a case of packing the data into custom html. Also, across the internet I didn't find any examples.
I can generate the HTML at the server and return it, although then I'm missing a point having HTML completely managed by VueJS.
At current state of VueJS plugin, is it possible to have custom HTML for various columns?
This question has an accepted answers - jump to answer
Answers
Not yet, although I am working on that. The next release of the DataTables Vue component will feature a named slot per column that you can use to define a component to be used for that column.
There are one or two outstanding points that I want to address (orthogonal data options specifically) before wrapping it up. Also it will use DataTables 2 which is nearing release.
Allan
Awesome, thank you for an answer. Also, you're doing a great job. Appreciate your lib! Cheers.
Many thanks - very much appreciated![:) :)](https://datatables.net/forums/resources/emoji/smile.png)
Allan