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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Show/Hide columns on an advanced grid by code

rvecchiato
13-Aquamarine

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!

0 REPLIES 0
Top Tags