Is there a way to programatically add columns to a tree table, say, on a button press (which I can later load data into)?
I can see methods to add views or change attributes, but I’m not sure how to achieve something like this.
Thanks!
Is there a way to programatically add columns to a tree table, say, on a button press (which I can later load data into)?
I can see methods to add views or change attributes, but I’m not sure how to achieve something like this.
Thanks!
you can access the column’s configuration like grid.config.columns - just add or remove anything there and call grid.refreshColumns