Creating and populating a Dynamic Table

Hi,

One of the web service output is a list and the fields in the output list can vary each time.

The list should be shown as a table in the Portlet.

Usually, when the output has fixed number of columns, we can define the table during design time.

Could you please advise on how to go about creating a dynamic table where the number of columns in the table can vary each time?

Regards,
Hari

You can add all available columns to the table control. and then set the rendered property of the columns to show it only when value is not empty.

You can follow same approach if you want to restrict the column viewing per users.