on 03-09-2016 9:42 AM
Hi
In Webdynpro i create a selection screen with block using IF_WD_SELECT_OPTIONS->ADD_BLOCK
wd_this->m_handler->add_block(
i_id = `BL02`
i_block_type = if_wd_select_options=>mc_block_type_tray
i_title = `Udvidede selektioner` ).
But i would like to have the block Collapsed as default. How can i do that?
Hi Jakob,
If we try to compare GUI blocks http://zevolving.com/2014/07/selection-screen-expand-collapse-various-blocks/ and WD blocks we will need a push-button similar to how it is done in the document referenced. They check which button is clicked and then button's ICON is changed and all the select option elements are visible.
To do this in WD, we may follow -
1. Change icon on click of the button( we may not do this, rather we can have a tray with transparent container which will have the view container )
2. Control the visibility of the view container.
I understand that this is nowhere close to the solution you may need but you may get a heads up.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.