Open ashleahhill opened 7 years ago
I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here
Current behavior
I am using angular2-data-table inside of Angular Material 2 tabs
angular2-data-table
When I use the Expressive functionality I end up with duplicate columns after tabbing away from and back to a table using expressive templates.
I do not see the issue when using the headerTemplate and cellTemplate with TableOptions, nor do I see them with tables that don't use templates.
headerTemplate
cellTemplate
TableOptions
Expected behavior
Sort should happen without throwing error.
Reproduction of the problem http://plnkr.co/edit/9Eug63qi775HVCMe3BhO?p=preview
What is the motivation / use case for changing the behavior?
I need to use the table inside of an angular material tab
Please tell us about your environment: Windows VSCode Node Webpack Dev Server
TypeScript@2.0.3
Can you verify if this is still an issue?
I'm submitting a ... (check one with "x")
Current behavior
I am using
angular2-data-table
inside of Angular Material 2 tabsWhen I use the Expressive functionality I end up with duplicate columns after tabbing away from and back to a table using expressive templates.
I do not see the issue when using the
headerTemplate
andcellTemplate
withTableOptions
, nor do I see them with tables that don't use templates.Expected behavior
Sort should happen without throwing error.
Reproduction of the problem http://plnkr.co/edit/9Eug63qi775HVCMe3BhO?p=preview
What is the motivation / use case for changing the behavior?
I need to use the table inside of an angular material tab
Please tell us about your environment: Windows VSCode Node Webpack Dev Server
TypeScript@2.0.3