1.0.0-alpha.7
Pre-release
Pre-release
christianacca
released this
27 Aug 22:09
·
182 commits
to master
since this release
Bug Fixes
- NgTableParams: the url method does not URI encoded all parameter values
(6e7bf3a7)
Features
- NgTableParams: improved support for grouping data
(1cd90cde) - groupRow: extend header with a data group picker
(ffa617cb) - ngTableDefaultGetData: allow NgTableParams to determine if sorting, filtering, and paging apply
(6536d734)
Breaking Changes
- NgTableParams:
- due to 1cd90cde,
settings().groupBy
renamed and moved toparameters().group
Previously:
var params = new NgTableParams({...}, { groupBy: 'role'});
// changing value:
params.settings({ groupBy: 'age'});
Now:
var params = new NgTableParams({group: 'role'}, {...});
// changing value:
params.group('age');
// OR
params.parameters({ group: { age: undefined }});
- paging is applied after grouping
This means that groups will no longer be duplicated and split across pages.
- due to 6e7bf3a7,
All parameter values are now URI encoded, thus a numerical filter value will now be returned as a quoted string