Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
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
Vishal, by column selection, did you mean show/ hide specific columns?
Yes, If we can show/hide specific columns at run-time.
Don't think so with TW out-of-the-box.
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.
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.