Access created method vuejs in kendo grid?

2 posts, 0 answers
  1. Felipe
    Felipe avatar
    1 posts
    Member since:
    Aug 2015

    Posted 28 Nov Link to this post

    Is it possible to access a method that was created in the Vue.JS methods with the Telerik grid, in this case a click action?

    template: "<div><button @click='showClient(#:id#)'>Show Client</button></div>"

    methods: {

         showClient (id) {

               console.log(id)

              this.$router.push('/client/:id')

         }

    }

    output render in HTML

    <td role="gridcell"><div><button @click="showClient(720)">Show Client</button></div></td>

  2. Plamen
    Admin
    Plamen avatar
    2821 posts

    Posted 30 Nov Link to this post

    Hello,

    Thank you for getting in touch with us. With the current version of Grid Vue wrapper the Vue templates support is not implemented yet we plan to add support for them in the upcoming January release. Currently in such scenario we recommend the Kendo jQuery template syntax that will work correctly. Please excuse us for this current inconvenience with the control. If you have further questions please don't hesitate to let us know.

    Regards,
    Plamen
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top