Component Rendering On Vue

Component Rendering On Vue

ardagunsurenardagunsuren 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

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    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

  • jtanjtan Posts: 2Questions: 0Answers: 0

    Hi Allan has this been implemented?

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Yes :). See the documentation here.

    Allan

  • jtanjtan Posts: 2Questions: 0Answers: 0

    Thanks!

Sign In or Register to comment.