G
G
GrimJack2017-10-03 15:20:44
Vue.js
GrimJack, 2017-10-03 15:20:44

What is the normal datatables plugin for vuejs?

I'm looking for a normal DataTable plugin (or any other for working with tables).
So far found this https://www.npmjs.com/package/vuejs-datatable
But it doesn't fully meet my requirements
Need:

  1. The ability to form a custom value in a cell ( good example )
  2. Column filtering and search
  3. Cell click action

Explanation of point 3. There are two data types (conditionally name and car, i.e. two columns) and when clicking on a cell, the user will have to fall into a certain route. Example:
|name|car|
|lola|opel|


Clicking on "lola" should work
this.$router.push({name: 'data_list.editor', list_slug: "name", list_id: "row.name.id"})

When you click on "car" respectively
this.$router.push({name: 'data_list.editor', list_slug: "car", list_id: "row.car.id"})

Who can recommend a similar plugin? (except to write it myself, I think that this has clearly been around for a long time)
Maybe I didn’t fully understand what I found (I couldn’t insert point 3)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2017-10-03
@0xD34F Vue.js

Try vue-tables . There are custom columns and filtering, clicking on a cell is easily implemented through the same custom columns. There is a demo where all this is present.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question