Skip to content

Repository files navigation

Vuetable-spring - data table simplify!

Vuetable-spring works with Vue 2.x

This is a fork version of Vuetable-2.

Changes:

  • Use spring pageable structure by default.
{
  "content" : [],
  "last" : false,
  "totalPages" : 4,
  "totalElements" : 17,
  "sort" : [ {
    "direction" : "DESC",
    "property" : "id",
    "ignoreCase" : false,
    "nullHandling" : "NATIVE",
    "ascending" : false
  } ],
  "numberOfElements" : 5,
  "first" : false,
  "size" : 5,
  "number" : 2
}
  • Support template in fields.
fields: [
    {
      name: 'id'
    },
    {
      name: 'name',
      template: '<router-link :to="\'/users/\' + rowData.id">{{ value }}</router-link>'
  }]
  • Support filter in fields.
fields: [
    {
      name: 'language',
      filter: ['English', 'Chinese']
    },
    {
      name: 'username',
      filter: {name: 'name', options: ['Andy', 'Bob']}
  }]
  • Sortable by default.
  • Displaying and pagination pagination information by default.

Documentation and Tutorial

Documentation is still under development. Meanwhile, check out the Tutorial with follow-along project here. It should be enough to get you started.

If you've been using Vuetable for Vue 1.x before, checkout what's changed for info on changes from Vuetable for Vue 1.x and the upgrade guide on how you could upgrade from Vuetable for Vue 1.x.

About

vuetable-2 for Spring

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages