0

Is there any example you have to make the table data persistent after hide or show or reorder certain columns in primeng.

For example: If there is a treetable with 3 columns Id,Name and type and by toggling I hided the ID column using toggle option and if I refreshed the page, the table should come with Name and type only.

Is there any api is available to get the column data dynamically for each hide and show as well as reordering ? kindly provide an example it will be really helpful.

Nasrul Bharathi
  • 163
  • 2
  • 10

1 Answers1

0

I don't think there is an API for this.. I used localstorage for saving the state of the table.

Sarvagya Saxena
  • 229
  • 1
  • 9