Skip to content

Upgrading from 0.0.x ​

Version 0.1 keeps the props and events of 0.0.x. A table written for 0.0.x keeps working, with the changes below.

Changes in behaviour ​

Area0.0.x0.1
Pagination totalTotal: showed the number of pages.Shows the number of rows, the value of totalItems / totalPages.
Page buttonsCould repeat a page and always showed ....Shows every page up to 5, then first two, current and last two.
Filter dropdownChanging it did nothing until the user typed.Emits Search right away.
Clicking the active pageEmitted changePage again.Emits nothing.
Page stylesA full CSS reset was applied to the whole page.Styles only touch the table. If your page relied on that reset, add your own.
Columns with labelsCells followed the order of the row properties.Labels that match a row property show that property. Others still go by position.
Action callbackReceived the click event.Receives the click event, then the row.
SortBy payload{ title, direction }{ title, direction, key }

Package ​

  • import { VTable } from "v-table-system" now resolves correctly in both ES module and CommonJS projects, and ships its TypeScript types.
  • Vue is a peer dependency (^3.4.0).
  • New entry v-table-system/element registers the web component.

New names ​

Nothing was removed, but two props have clearer replacements:

OldNew
totalPagestotalItems
labels + sortableColumnscolumns with sortable: true

Released under the Apache-2.0 License.