Skip to content

Releases: Power-Components/livewire-powergrid

v1.5.1

04 Dec 19:44
2fc4279
Compare
Choose a tag to compare

🛠️ Fixes

🔥 Translations

Added

New Contributors

Full Changelog: v1.5.0...v1.5.1

v1.5.0

27 Nov 13:51
114534f
Compare
Choose a tag to compare

🛠️ Fixes

New Contributors

Full Changelog: v1.4.7...v1.5.0

Notes:

  • With Sort String Number (SortField with +0) - By default it is disabled, but you can enable it by changing the property: $withSortStringNumber - #111
  • Update message is disabled by default: bool $showUpdateMessages

image

  • Prefix in sorting with join is ignored by default. bool $ignoreTablePrefix = true avoiding problems with table names with joins when you need to remove them
  • Table prefix has been removed: sortable(string $tableWithColumn = ''). Now is sortable()

Before:

Column::add()
     ->title('Category')
     ->field('category_name')
     ->sortable('categories.name'),

After:

Column::add()
     ->title('Category')
     ->field('category_name')
     ->sortable(),
  • Table prefix has been removed: searchable(string $tableWithColumn = ''). Now is searchable()

Before:

Column::add()
     ->title('Category')
     ->field('category_name')
     ->searchable('categories.name'),

After:

Column::add()
     ->title('ID')
     ->field('id')
     ->searchable(),
  • Add dataField extra parameters do field method.
Column::add()
     ->title('Category')
     ->field('category_name', 'categories.name')
     ->searchable(),

v1.4.7

17 Nov 00:07
Compare
Choose a tag to compare

🛠️ Fixes

issues:

  • search problem when joining multiple tables #129
  • more issues with ambiguous columns when using join #111
  • fix action method on action #128
  • exporting with join sortable.

good practices with join

  1. SortField and primaryKey values:
    public string $sortField = 'dishes.id';
    public string $primaryKey = 'dishes.id';
  1. Method addColumns:
     ->addColumn('dishes.name', function (Dish $dish) {
           return $dish->name;
      })
  1. Method columns;
      Column::add()
          ->title(__('Name'))
          ->field('dishes.name')

v1.4.6

12 Nov 15:48
Compare
Choose a tag to compare

🛠️ Fixes

  • sortby string number "+0" is now conditional on the variable public bool $withSortStringNumber = false, as it did not have PostgreSQL support and there are no conflicts with join query.
  • bootstrap 5 theme don't have a export option #120 - fixed

🔥 New Translation

  • Add ms_MY (Bahasa Melayu - Malaysia) translation. #119

v1.4.5

08 Nov 11:03
Compare
Choose a tag to compare

🛠️ Fixes

  • added custom parameters to emit - #116

v1.4.4

07 Nov 19:19
de9be76
Compare
Choose a tag to compare

🛠️ Fixes

  • added parameter to specify the column that will be ordered in case of table joins -
    E.g: ->sortable('categories.name') - See more

🔥 New Translation

  • added yoruba translation file #113

v1.4.3

06 Nov 12:35
Compare
Choose a tag to compare

🛠️ Fixes

  • outside filter #96
  • add outside filters boolean and text #96
  • enabled filters automatically cleared when filter is empty
  • add table name on sortField - #111
  • add alpinev2 alert on console

v1.4.2

04 Nov 20:46
2e9eb78
Compare
Choose a tag to compare

🛠️ Fixes

  • Prefixes table name on search columns (join) - #109

v1.4.1

04 Nov 17:42
Compare
Choose a tag to compare

🛠️ Fixes

  • Layouts improvements
  • Temporarily removed inputMultiSelect from demo
  • Pagination Issue with filtering - #108
  • Query count duplicated

v1.4.0

02 Nov 21:45
bb73952
Compare
Choose a tag to compare

⚡️ PowerGrid 1.4 Released! ⚡️

📺 Laravel daily Quick Datatable Package

🔥 New Features

🛠️ Fixes

  • table sortBy - #99
  • Fix Spanish translation - #97
  • orderBy string numbers - #86
  • Removed ‘outside’ filter temporarily from boostrap5 - #96
  • editOnClick - update without refresh - #93
  • Friendly alert on Tailwind Forms - #101

editOnClick:

139909393-a668a349-dfa8-42b5-8a33-98fcd221f172
: