According to this thread, I tried to call api.setColumnDefs
and api.setRowData
to dynamically load new table definition with new corresponding data, and it failed.
I guess it comes from that the plugin tries to refresh GUI after api.setColumnDefs
but before api.setRowData
. Here is the code at Plunker (it is based on Advanced AngularJS 1.x Example),.
Please review and help: what is the correct way to do it?