copying one datatable to another
copying one datatable to another
![jj3pa](https://secure.gravatar.com/avatar/b327e79e144471e86684046b7022a433/?default=https%3A%2F%2Fvanillicon.com%2Fb327e79e144471e86684046b7022a433_200.png&rating=g&size=120)
Hi I have a datatable in an angular 2 page. Its called dataTable.
I want to be able to override it with table a or in other words,
dataTable = a;
It almost works, displays for the most part, but some of the functions like pagination don't work right.
I'm guessing there's a right way to do this.
THanks
jj
This discussion has been closed.
Replies
Hi jj,
Here's an example from another thread. Hope this helps,
Cheers,
Colin
I think this will work for me. I'm working in Angular 2, but I think I can adapt it.
I'll play around with it and let you know.
Thanks!