Component Rendering On Vue
Component Rendering On Vue
ardagunsuren
Posts: 1Questions: 1Answers: 0
Hello,
I am experiencing an issue with my Vue application. When I return the component in the columns' render function, it displays as "[object Object]". Could you please help me figure out how to fix this?
Here is a screenshot illustrating the problem:
Answers
This unfortunately, is currently correct. It isn't yet possible to have a Vue component returned from the renderer and displayed in the DataTable.
However, that will change next month with the release of DataTables 2 and an update to the Vue integration for DataTables. One of my goals with DT2 was to allow exactly this sort of thing.
I'm currently going through my bug list and updating documentation. Keep an eye on the blog for the release of DataTables 2, which will support this.
Allan
Hi Allan has this been implemented?
Yes . See the documentation here.
Allan
Thanks!