copying one datatable to another

copying one datatable to another

jj3pajj3pa Posts: 2Questions: 0Answers: 0

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

Replies

  • colincolin Posts: 15,171Questions: 1Answers: 2,589

    Hi jj,

    Here's an example from another thread. Hope this helps,

    Cheers,

    Colin

  • jj3pajj3pa Posts: 2Questions: 0Answers: 0

    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!

This discussion has been closed.