Git Product home page Git Product logo

Comments (6)

ratiw avatar ratiw commented on September 7, 2024

@Atarrat You can't. The column callback only gets the value of that particular column.
Please see this for similar question.

from vue-table.

 avatar commented on September 7, 2024

Thanks, i got this. But now, i have another problem.
My return callback function don't know vuejs event.
How can i reload or rerender table. Please help me again.

myfunc: function() {
      return '<button v-on:click="test">Testing</button>'
},
test: function (event) {
      alert('Hello')
}

from vue-table.

ratiw avatar ratiw commented on September 7, 2024

@Atarrat You braodcast an event to vuetable using vuetable:refresh or vuetable:reload. Please see this wiki for more detail.

from vue-table.

 avatar commented on September 7, 2024

Thank again. One more question. How can i change GET request to POST request?
I want to use csrf token with ajax.
ps: I already looked into wiki but i don't see that. Please help.

from vue-table.

ratiw avatar ratiw commented on September 7, 2024

@Atarrat vuetable only use HTTP GET. You do not need to change it.

If you want to apply CSRF token to any ajax call, you can do it via vue-resource (which is used by vuetable itself) by setting its options like this. Or, you can use http-options of vuetable to set CSRF token as well.

from vue-table.

 avatar commented on September 7, 2024

Thank you

from vue-table.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.