How add action button on Vue3 component - Page 2

How add action button on Vue3 component

2»

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Are you using the listHiddenNodes renderer? Example here. If not, then change to use that - otherwise it is clone of the elements and actions wouldn't work.

    Allan

  • paulhemen88paulhemen88 Posts: 15Questions: 2Answers: 0

    Cool, it's working as expected. Here's another issue I found so far:

    1. Button added to the row dynamically using <template>. Buttons do have condition such as @if statement
    2. Refreshed the table using : this.$refs.ordersTable.dt.ajax.url(route("my.route", { table: "orderDataTable" })).load();
    3. Datatable is refreshed, but conditional buttons aren't checked.
Sign In or Register to comment.