ngx-datatable-wy
fork from @swimlane/ngx-datatable
support Angular7.0, wyy branch for publish.
# package npm run package # postversion npm run postversion --[tag]
Feature
- DataTableBodyComponent only vertical scrolling trigger updateRows() methods.
{ // ... // this.updateRows(); // source code ifeventdirection // Vertical scroll this; }
- DatatableComponent Update recalculate(): add markForCheck.
: void this; this; thiscd; // +++
- DataTableSelectionComponent Update selectRow(): emit current selected row.
: void //... thisselect;
Bugfix
- DataTableBodyComponent [trackByProp]
{ // declare fn here so we can get access to the `this` property this: any { const idx = this; if thistrackByProp return rowthistrackByProp; // to fix // return `${idx}-${this.trackByProp}`; // source code else return idx; };}