Skip to content

Commit

Permalink
(release): 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Dec 4, 2016
1 parent aeff4e1 commit 7234d69
Show file tree
Hide file tree
Showing 11 changed files with 132 additions and 69 deletions.
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.1.3
- Bug: Fix footer not updating when all removes removed
- Bug: Fix Add/Remove items in array not updating (#255)

## 2.1.2
- Bug: Fix sizing method being debounced on view inits rather than just window resize.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular2-data-table",
"version": "2.1.2",
"version": "2.1.3",
"description": "angular2-data-table is a Angular2 component for presenting large and complex data.",
"main": "release/index.js",
"typings": "release/index.d.ts",
Expand Down
22 changes: 18 additions & 4 deletions release/components/datatable.component.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ElementRef, EventEmitter, OnInit, QueryList, AfterViewInit, TemplateRef } from '@angular/core';
import { ElementRef, EventEmitter, OnInit, QueryList, AfterViewInit, TemplateRef, DoCheck, KeyValueDiffers } from '@angular/core';
import { ColumnMode, SortType, SelectionType } from '../types';
import { DataTableColumnDirective } from './columns';
import { DatatableRowDetailDirective } from './row-detail';
export declare class DatatableComponent implements OnInit, AfterViewInit {
export declare class DatatableComponent implements OnInit, AfterViewInit, DoCheck {
/**
* Gets the rows.
*
Expand Down Expand Up @@ -330,7 +330,7 @@ export declare class DatatableComponent implements OnInit, AfterViewInit {
* if the horziontal scrolling is enabled.
*
* @readonly
*
* @type {boolean}
* @memberOf DatatableComponent
*/
readonly isHorScroll: boolean;
Expand Down Expand Up @@ -425,12 +425,13 @@ export declare class DatatableComponent implements OnInit, AfterViewInit {
private bodyHeight;
private rowCount;
private offsetX;
private rowDiffer;
private _rows;
private _columns;
private _count;
private _columnTemplates;
private _rowDetailTemplateChild;
constructor(element: ElementRef);
constructor(element: ElementRef, differs: KeyValueDiffers);
/**
* Lifecycle hook that is called after data-bound
* properties of a directive are initialized.
Expand All @@ -445,6 +446,12 @@ export declare class DatatableComponent implements OnInit, AfterViewInit {
* @memberOf DatatableComponent
*/
ngAfterViewInit(): void;
/**
* Lifecycle hook that is called when Angular dirty checks a directive.
*
* @memberOf DatatableComponent
*/
ngDoCheck(): void;
/**
* Toggle the expansion of the row
*
Expand Down Expand Up @@ -502,6 +509,13 @@ export declare class DatatableComponent implements OnInit, AfterViewInit {
* @memberOf DatatableComponent
*/
recalculateDims(): void;
/**
* Recalculates the pages after a update.
*
*
* @memberOf DatatableComponent
*/
recalculatePages(): void;
/**
* Body triggered a page event.
*
Expand Down
25 changes: 23 additions & 2 deletions release/components/datatable.component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion release/components/datatable.component.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion release/components/datatable.component.metadata.json

Large diffs are not rendered by default.

0 comments on commit 7234d69

Please sign in to comment.