v4.0.0
Pre-release
Pre-release
<a name"4.0.0">
4.0.0 (2016-12-31)
Bug Fixes
- ngTableParams:
parametersmethod returns incorrect object (3ca6852d)
Features
- NgTableParams: nested paramater values never undefined (8f5461fc)
- ngTableFilterConfig: nested options never undefined (09664284)
- ngTableSettings: nested options never undefined (6e810ba6)
Breaking Changes
NgTableParams.parameters: any param value supplied as undefined will now be ignored
Instead of undefined you will need to supply a suitable value as described below:
count,page-0filter,group,sorting- an empty object to remove existing values
(8f5461f)
NgTableFilterConfigProvider.setConfig: any config value supplied as undefined will now be ignored
Instead of undefined you will need to supply a suitable value as described below:
aliasUrls- an empty object to reset configuration back to using filter templates supplied by the ng-table library
(0966428)
- Split
TableInputAttributesinterface into base and specialized interfaces
(29659a9)
- Drop the
Iprefix from interface names
(2e5bf71)
ISettings: replaced withSettingsclass and a type alias ofSettingsPartialSettings.interceptors,Settings.counts: arrays are cloned therefore any changes to the array will not be recognisedsettings(newSettings): any setting value supplied as undefined will now be ignored.
Instead of a undefined you will need to supply a suitable value as described below:
counts- an empty array to prevent the page size buttons renderingfilterOptions.filterDelay-0to remove the debounce delayfilterOptions.filterDelayThreshold-nullso that adatasetof any size will have afilterDelayappliedgroupOptions.sortDirection-''so that grouped columns are NOT sorted by defaultgroupOptions.isExpanded-falseso that each grouped set of rows are collapsed by defaultpaginationMaxBlocks,paginationMinBlocks-0
(6e810ba)