Dynamic setState of datatable view new column

Hello i use datatble view. There is too many columns on it, so i have different columns for different pages. Each page configuration is store like getState() function, a when change the page load this configuration from db, and setState. The problem happens when i added new columns setState function or not working at all or duplicate columns or display full column with empty row. Is there a way to define some state which will working even with new columns or something else ?