Dynamic table columns
I have a no dynamic table, now I need add a dynamic columns a this table, I don't know the numer of columns until the user does not select a series of pre-filters.
How can I modify mi table? I have crate all table dynamically or can I to create dynamically only some columns?
Thanks and regards!!
Sharath M G replied
You can do both, create the whole table dynamically or add columns to an existing table.
You will have to write all the dynamic code within the wdModifyView() method. Only in this method, will you get the handler for the existing view(parameter variable). Using the Interfaces for table and column, build a whole table or add columns to the table.
Check the IWDTable javadocs for further help:
Also check out dynamic coding in Web Dynpro java for further guidance on this topic.