Skip to content

Commit

Permalink
refactor(tree-grid): remove unused methods and classes, #2921
Browse files Browse the repository at this point in the history
  • Loading branch information
wnvko committed Nov 14, 2018
1 parent 626156a commit 8d1f8ae
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4368,9 +4368,6 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
return rowChanges ? Object.keys(rowChanges).length : 0;
}

protected writeToData(rowIndex: number, value: any) {
mergeObjects(this.data[rowIndex], value);
}
/**
* TODO: Refactor
* @hidden
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,4 @@ export class IgxTreeGridComponent extends IgxGridBaseComponent {
templateID: 'dataRow'
};
}

protected writeToData(rowIndex: number, value: any) {
mergeObjects(this.flatData[rowIndex], value);
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { HierarchicalTransaction, HierarchicalState, TransactionType, HierarchicalTransactionNode } from './transaction';
import { HierarchicalTransaction, HierarchicalState, TransactionType } from './transaction';
import { Injectable } from '@angular/core';
import { IgxTransactionService } from '..';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ export interface HierarchicalState extends State {
parentId: any;
}

/** @experimental @hidden */
export interface HierarchicalTransactionNode {
id: any;
parentId?: any;
childNodes: HierarchicalTransactionNode[];
}

export interface TransactionService<T extends Transaction, S extends State> {
/**
* Returns whether transaction is enabled for this service
Expand Down

0 comments on commit 8d1f8ae

Please sign in to comment.