Skip to content

Releases: hamburgscleanest/data-tables

v1.0.1

02 Jul 13:42
Compare
Choose a tag to compare
  • LinkColumn: Opens external anchors using rel="noopener"

v1.0.0

26 Jun 15:41
Compare
Choose a tag to compare

The first revision of the wiki has been released!
https://github.com/hamburgscleanest/data-tables/wiki

Added

  • Automatic Package Discovery for Laravel versions 5.5.x and later
  • Caching of the results
     DataTable::model(TestModel::class, $columns, new SimpleCache($minutes));
     // or
     $dataTable->cache(new SimpleCache(1440));
  • You can now change the pagination symbols
     $paginator->pageSymbols(['first' => 'first page', 'last' => 'last page', 'next' => 'next', 'previous' => 'prev']);

Release Candidate

19 Jun 23:04
Compare
Choose a tag to compare

Search modes in the "FulltextSearch" class can now be set correctly.

Release Candidate

19 Jun 21:34
Compare
Choose a tag to compare

Improved the DataScout data component.

  • you can still do a simple search like in the old version by using the "SimpleSearch" class
  • you can now do a fulltext search by using the "FulltextSearch" class (make sure that you have a FULLTEXT INDEX on the columns!!)
/**
  * New way of constructing the DataScout
  */
$dataScout = new DataScout(new SimpleSearch(['name']));
// or the new fulltext search
$dataScout = new DataScout(new FulltextSearch(['name']));
// it supports different modes like "IN NATURAL LANGUAGE MODE", "IN BOOLEAN MODE" and "WITH QUERY EXPANSION"
$dataScout->setMode('WITH QUERY EXPANSION');

Release Candidate

19 Jun 12:57
Compare
Choose a tag to compare

Added

  • LinkColumn formatter
/**
  * Every attribute of the model can be used to generate a link.
  * For example generating a link to the users profile on the "name" column.
  * Values in curly braces, e.g. "{id}" will be replaced by the model's value.
  */
$dataTable->formatColumn('name', new LinkColumn('/users/{id}')); // e.g. /users/1337

Release Candidate

15 Jun 22:24
Compare
Choose a tag to compare

Added

  • Components can now be accessed directly via properties
// can be accessed via $dataTable->paginator
$dataTable->addComponent(new Paginator);
  • ColumnFormatter for Icons -> IconColumn
  • ColumnFormatter for Images -> ImageColumn

Fixed

  • Remembering the state does not work
  • DataComponents could not access the defined relations (columns of relations like 'relation.id')

Beta Version

18 Apr 21:32
Compare
Choose a tag to compare
Beta Version Pre-release
Pre-release
  • SortableHeader: Fixed sorting bug..

Beta Version

13 Apr 11:07
Compare
Choose a tag to compare
Beta Version Pre-release
Pre-release
  • Added ability to reference related columns
  • Added support for aggregates like "count", "max", "min", etc.
  • The page count is calculated correctly now
  • Display custom HTML or a View if the dataset is empty

Beta Version

11 Apr 17:48
Compare
Choose a tag to compare
Beta Version Pre-release
Pre-release

Implemented column formatters.