How to reDraw Datatables in Angular2?

How to reDraw Datatables in Angular2?

gkivancgkivanc Posts: 1Questions: 1Answers: 0

Hello, we want to redraw datatable in Angular2, because of when screen size changed, the datatables should change with screen orientation. In dtOptions we used "scrollY" attribute and the scrollY attribute ise changing dynamicaly when the screen size changed. But this changing cannot implement the datatable. After that, also we used "table.DataTable().rows.draw()" command but we take an error on console. The error "Datatables cannot reinitialize" like that.

We are try to change it about 2-3 days.

Can you help us? Thank you.

This discussion has been closed.