Releases: esvit/ng-table
1.0.0-beta.9
1.0.0-beta.8
Features
- ngTableController: add visibleColumnCount to the the current $data array
(8e0b1095)
1.0.0-beta.7
Bug Fixes
- ngTableParams: reload is never triggered once reload has failed once
(4369926c)
1.0.0-beta.6
1.0.0-beta.5
Bug Fixes
- NgTableParams: afterCreated should be the very first event to fire
(84d4220c) - filterRow.html: header-class should also apply to filter row
(eed65436) - ngTableController: reference to $column not always available in $column getter functions
(adddb27d)
Features
- ngTableController: display the filter row by default when applicable
(103b2be4)
Breaking Changes
- NgTableParams: due to 84d4220c,
The order of events firing has changed.
Previously the datasetChanged
event would fire after the afterCreated
event. Now afterCreated
event will fires first.
- filterRow.html: due to eed65436,
A css class specified using the header-class will now be added to the filter row header cell and not
just the sorting row.
If you want to continue to apply the css rules only to the cell in the sorting header row you
will now need to qualify your css rule with the '.header' css class.
So the following:
.my-customer-header {
/* rules */
}
... will need to change to:
.header.my-customer-header {
/* rules */
}
- ngTableController: due to adddb27d,
A context object combines and replaces the $scope
and locals
argument originally supplied to
$column
getter functions.
This context object prototypically inherits from the original $scope
and has the fields from the
original locals
argument as own properties.
This change is very unlikely to affect you
ngTableColumn.buildColumn
now expects a third parameter - a reference to the $columns
array that will contain the column being built
1.0.0-beta.4
Breaking Changes
- NgTableParams: due to 380ba21f,
NgTableParams.settings().data
renamed to NgTableParams.settings().dataset
Previously:
var tp = new NgTableParams({}, {data: yourArray });
Now:
var tp = new NgTableParams({}, {dataset: yourArray });
1.0.0-beta.3
1.0.0-beta.2
Bug Fixes
- ngTableSelectFilterDs: not binding to scope an array returned asynchronously
(4c063685)