cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Show/Hide columns on an advanced grid by code

rvecchiato
Amethyst

Show/Hide columns on an advanced grid by code

Hello,

I am interested on a way to show/hide columns of an advanced grid (4.0.1) based on an external input.

The use case is:

- I have different buttons on a layout header (we can consider it as a simple list, showing some locations)

- I have an advanced table grid binded with a configuration string that renders the selected locations of the list

- The table is fully rendered but the locations "not selected" are hide in the configuration passed to the grid

- The user is selecting another location and I would like simply to show the column without rebuilding fully the configuration

 

I am quite sure it can be done because it's the same action of "right click on the grid header and selecting the checkbox" but I do not know how.

 

Can someone help me please?

 

Thank you!

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.