v4.0.0
Pre-release
Pre-release
<a name"4.0.0">
4.0.0 (2016-12-31)
Bug Fixes
- ngTableParams:
parameters
method 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
-0
filter
,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
TableInputAttributes
interface into base and specialized interfaces
(29659a9)
- Drop the
I
prefix from interface names
(2e5bf71)
ISettings
: replaced withSettings
class and a type alias ofSettingsPartial
Settings.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
-0
to remove the debounce delayfilterOptions.filterDelayThreshold
-null
so that adataset
of any size will have afilterDelay
appliedgroupOptions.sortDirection
-''
so that grouped columns are NOT sorted by defaultgroupOptions.isExpanded
-false
so that each grouped set of rows are collapsed by defaultpaginationMaxBlocks
,paginationMinBlocks
-0
(6e810ba)