Skip to content

Releases: ratiw/vuetable-2

v1.6.6: fix #252

21 Sep 16:39
Compare
Choose a tag to compare

VuetablePagination has a v-if in the top-level in the template section which was working before 2.4.x (I'm not sure which one).

But after update to Vue 2.4.4, this no longer work which makes sense since if the top-level block is falsy, the div should be removed from the Virtual DOM and therefore should not be referable via refs. However, this was not enforced properly by Vue prior to 2.4.x.

This patch fixes this problem by changing v-if to v-show, which is supposed to be the correct logic.

v1.6.3

05 Jun 16:13
Compare
Choose a tag to compare

New props

Others

  • Fix test to make it work with axios -- by @kiltec
  • Fix field visibility bug in the demo --
  • update build script to webpack 2 -- by @cristijora
  • generate new document from wiki using docsify -- by @cristijora
  • minified and non-minified dist file -- by @cristijora, close #153
  • bundles now also export VuetablePaginationMixin and VuetablePaginationInfoMixin

v1.6.0

25 Apr 17:08
Compare
Choose a tag to compare

Vuetable-2 v1.6.0

  • You can now display icon (via CSS class) in column title. See doc here
  • Vuetable now watch changes to api-url prop so that the data gets automatically refresh, thanks to @c0defre4k for PR #58.
  • Replace vue-resource with axios, thanks to @ lmj0011 for PR #65
  • Fix els.forEach compatibility issue that caused error on browsers other than Chrome. Thanks to @bajian for PR #66.
  • Deprecate row-class-callback prop for row-class prop
  • row-class prop is now also accepting Function, thanks to @c0defre4k for PR #82.
  • Add CDN bundle to dist directory, thanks to @cristijora for PR #94.
  • Fix problem with browserify, thanks to @pajtai for PR #100.
  • Move most of the CSS related icon classes into css prop.
  • Support data array via api-mode (which is true by default) and data prop.
    The default behavior (and still is) of Vuetable-2 is working with API endpoint. The api-mode was added to allow using client side data array with Vuetable. However, all functionalities related to server side are disabled, e.g. sorting, paging, page sizing, etc. Related methods and properties will be marked if they will work on ApiMode only or not.
  • sortFiled is now passed to the __component. Thanks to @SimplyCorey, Close #68.
  • Log error to console when loadData failed.
    this will help identifying the problem easier when there is problem requesting data from the server
  • Rename sort-icon to handle-icon, rename css.sortHandleIcon to css.handleIcon
  • New method: resetData
    This will set both tableData and tablePagination to null and fire vuetable:data-reset event.
  • New event: vuetable:data-reset
    This event will help improve better coordination with pagination and pagination info components when the data has been reset to null.
  • New prop: render-icon -- allow overriding how the icon tag is rendered
  • Thanks the following contributors for helping with documentation
  • Special thanks to @cristijora for helping out on the questions in the issues and improving the CDN bundle, PR #123.
  • Sorry if I missed out anyone, please do not hesitate to let me know.

Note
I'm still new to semantic versioning and I learn as I go with this project. That's why the version number is a bit strange.

v1.3.0

15 Feb 14:23
Compare
Choose a tag to compare

The callback option in field definition now supports inline callback function. #57 Thanks to @c0defre4k.

1.2.0

28 Jan 08:15
Compare
Choose a tag to compare

new: __slot:<name> special field, thanks to @sjmarve.
See PR #46 for detail.

v1.1.1

19 Jan 12:32
Compare
Choose a tag to compare

fix: invalid key for class name in VuetablePaginationDropdown.vue, thanks @coderjp

v1.1.0

15 Jan 16:43
Compare
Choose a tag to compare
  • new prop: track-by
    replace detail-row-id and default id for __checkbox field
  • new special field: __handle and new css class: sortHandleIcon
    for working with Sortable.js
  • new events for __checkbox: vuetable:checkbox-toggled and vuetable:checkbox-toggled-all, thanks @abishekrsrikaanth for suggestion.
  • use <transition> tag for detail row

v1.0.1

17 Dec 16:36
Compare
Choose a tag to compare
  • fix empty results handling when the api returned an empty list, thanks @manukall #27

v1.0.0

17 Dec 16:44
Compare
Choose a tag to compare
  • fix: select all checkbox (in table header) to display indeterminate state correctly for each page
  • fix: multi-sort incorrectly use name instead of sortField
  • fix: sort-icon for component field type, thanks @loshmis #17
  • new prop: row-index for __component field and detail row component

v0.9.1

15 Oct 07:41
Compare
Choose a tag to compare
  • transform now able to transform both data and pagination
  • update example for the change in transform functionality