Skip to content

Commit

Permalink
Merge pull request #7023 from yigitfindikli/treetable
Browse files Browse the repository at this point in the history
fixed #6898 Treeview clickevent take long time on IE
  • Loading branch information
cagataycivici committed Dec 31, 2018
2 parents 32f05fc + d3109c4 commit 87c3d3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/components/treetable/treetable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,9 @@ export class TreeTable implements AfterContentInit, OnInit, OnDestroy, Blockable
visible: visible && (parent ? parent.expanded : true)
};
this.serializedValue.push(rowNode);

this.serializeNodes(node, node.children, level + 1, rowNode.visible);
if (rowNode.visible && node.expanded) {
this.serializeNodes(node, node.children, level + 1, rowNode.visible);
}
}
}
}
Expand Down

0 comments on commit 87c3d3d

Please sign in to comment.