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

Grid column selection at run time.

vvaidya
Newbie

Grid column selection at run time.

Hello Guys,

I am using grid to show my data table values in a mashup. I want to give functionality at run time where user can select or deselect the columns. We can do it at composer but we want it to happen at run-time .

Any idea. Thanks in advance!!!

Regards,

Vishal Vaidya

5 REPLIES 5

Re: Grid column selection at run time.

Vishal, by column selection, did you mean show/ hide specific columns?

Re: Grid column selection at run time.

Yes, If we can show/hide specific columns at run-time.

Re: Grid column selection at run time.

Don't think so with TW out-of-the-box.

Re: Grid column selection at run time.

Vishal, that cannot be controlled at run time. As you have probably come across, you can access all columns at design time using the 'Configure Grid Columns' but that is limited to design time. The only way around this that I can think of is redrawing the entire grid through a different service or displaying a different grid based on the user/ service output.

Re: Grid column selection at run time.

There is one other way to do it. If you do not need Selected Row capability, you can do a refresh of the data source to show the columns you want and display that on a grid without a datashape. to then properly show that, check off 'Show All Columns'

Again that goes with the loss of Selected Row.

Announcements

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