cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Columns

Former Member
0 Kudos

Hi,

I have a requirement wherein I should be able to add/delete columns to a dynamically generated table. Is this possible as I found no thread related to adding or deleting of columns to a table?

Shradha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Missed out on one point, the columns need to be added/deleted runtime depending on the selection of the column names without making any additional query to the database. This is very similar to the personalization feature available in ABAP. Is this possible in web dynpro java?

Former Member
0 Kudos

Shradha,

Seems that your requirement not to add/remove columns but to show/hide columns (i.e. set and order of columns is same, you are only select what columns are visible).

If so, then just create 1..1 node in context with N attributes of type Visibility, where N is number of column. Bind visibility property of every column to corresponding attribute. Now just set from code some of attributes to WDVisibility.VISIBLE others to WDVisibility.NONE and show/hide necessary columns this way.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

Yes, my requirement is to show/hide columns.

Thanks a lot!

Shradha

Answers (0)