All notable changes to this project will be documented in this file from 1.0.0 forward (2017-08-04).
This project will adhere as close as reasonably possible to Semantic Versioning.
- Using Rollup instead of Laravel Mix/Webpack for building scripts.
- Added ability to add classes to the table header cells.
- Added
:key
attribute to iterated element.
- Fixed issue where Vue is not defined when Vue is not available globally.
- Added normalized columns to the table row slot.
- Fixed issue where scoping the footer slot would break the table footer.
- Hide the
tfoot
tag if no footer slot content was provided
- Added the ability to use a custom footer
- Added the ability to set a custom component for a column header.
- Fixed issue where changing the pager's page length doesn't trigger an update on the table.
- Support to apply classes to rows on the datatable as a whole or individually.
- Support for a function to be used in the datatable
data
param. This function will be used to process the rows to display - Support for displaying content when no row are shown in the datatable.
- Support in settings for classes on the pager
li
anda
tags (This adds better support for Bootstrap 4). - Ability to overrided default table settings via
DatatableFactory.default_table_settings
. - Logic for updating components in tests.
- Support for NPM's
link
functionality for local development.
- Added list-render keys to the
datatable head
and body cells. - Added list-render keys to the
datatable-pager
buttons. - Added active class to "current page" pager button in the short style pager.
- 3 Total pagination types: long (default), abbreviated, and short. Pager examples
- You can now customize the classes used by the table. It uses Bootstrap 3 by default, but can be changed manually. This currently requires you to transpile your own JS. Custom theme example
- TESTS!
- The ability to completely override the table row output via slot template override. Custom template example
- Dropped support for Vue.js 1. Minimum required version is now 2.4
- Almost entire rebuild. Old syntax for datatables is largely incompatible with new syntax
- Changed the way logic customizations are made. Stores no longer exist. A handler has been added in their place. You can customize the logic in the handlers. AJAX example
- Pagination is now handled outside of the datatable by it's own (included) component (see the basic example). This allows you to place pagination wherever you want.
- When multiple tables exist on a page, you must specify the link between paginators and their table. This is handled automatically for the first table and any paginators on a page. For additional tables and their associate paginators, a link must be established by adding a
name
attribute to the table and atable
attribute on the paginator, both with the same value. Multiple tables example Examples