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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Grid column selection at run time.

vvaidya
1-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
Aanjan
9-Granite
(To:vvaidya)

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

vvaidya
1-Newbie
(To:Aanjan)

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

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

Aanjan
9-Granite
(To:vvaidya)

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.

PaiChung
22-Sapphire I
(To:Aanjan)

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.

Top Tags