Datatable column filtering

I have implemented a live-update datatable to correspond with a live-update graph. Functionally, both work very well, (and in my humble opinion, don’t look too shabby either). I do have a problem with filtering the datatable to include certain columns and exclude others. For ex. If the graph is zoomed in for certain x-value (09:00-10:00), is there any way I can also crop the corresponding datatable to represent columns from that same value. As of now, I can only manually delete individual columns which is very tedious given the amount of columns. Thank you. I hope this question is not too open-ended.