matSort, ERROR Error: Uncaught (in promise): HierarchyRequestError: Failed to execute ‘appendChild’ on ‘Node’: This node type does not support this method.

While working on matSort if you face issue – “ERROR Error: Uncaught (in promise): HierarchyRequestError: Failed to execute ‘appendChild’ on ‘Node’: This node type does not support this method.”, make sure to add mat-sort-header in th¬†element and not in the container.

About the Author

Pravin Varma

Tech Lead at Calsoft

You may also like these