Dynamic Tabstrip creation
Hi Every body ,
My requirement is i need to create tabs on tabstrip dynamically and create table on the tabs.
I am able to create tabs dynamically but i am unable to create table on the tabs . If anybody have done this let give the code . I am pasting my code also please tell me is my approach is correct or not .
Thanks in advance ,
Edited by: Vijay vorsu on Jun 19, 2009 10:03 AM
Uday Gubbala replied
You had missed out on 1 step. Since you are trying to add a new container element ( i.e, transparentcontainer ) to your layout you should say as:
cl_wd_flow_layout=>new_flow_layout( container = cl_trans ). cl_wd_flow_data=>new_flow_data( element = cl_trans ).
Right now you are just saying as:
CALL METHOD cl_wd_flow_data=>new_flow_data EXPORTING * cell_design = E_CELL_DESIGN-PADLESS element = cl_trans * id = * v_gutter = E_V_GUTTER-NONE RECEIVING control = layout.
So just add the other 1 layout specification which you have missed out and it should work fine. Am re-mentioning the same for your observation below:
cl_wd_flow_layout=>new_flow_layout( container = cl_trans ).