on 10-08-2009 9:49 PM
Hi Experts,
I have 4 Tabs on a Tabstrip. Two of these Tabs have two tables with one Context Node. Two other Tabs have also two tables with One Context.
The combination is similar to this:
Table A (on Tab A) and Table B (on Tab B) are bound to Context Node 1,
Table C (on Tab C) and Table D (on Tab D) are bound to Context Node 2.
By changing the Tabs, the content of the tables with the same context stays the same.
Where and what is the best Place/way for initializing (or invalidating) the Nodes by changing the Tabs?
Thank you for any help
Kind regards, Haleh
Edited by: Haleh Mir Ashrafi on Oct 8, 2009 11:03 PM
hi ,
u wud also like to refer this article Link: [Working with Tabstrips in WDA |http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/000334e2-f34d-2c10-dd8c-94194607e888&overridelayout=true]
As Radhika depicted , u can use the method onSelectEvent of ur tabstrip.
here u can take reference of the node and cn invalidate it
DATA lo_nd_cn_sapsystem TYPE REF TO if_wd_context_node.
DATA lo_el_cn_sapsystem TYPE REF TO if_wd_context_element.
DATA ls_cn_sapsystem TYPE wd_this->element_cn_sapsystem.
* navigate from <CONTEXT> to <CN_SAPSYSTEM> via lead selection
lo_nd_cn_sapsystem = wd_context->get_child_node( name = wd_this->wdctx_cn_sapsystem ).
lo_nd_cn_sapsystem->invalidate( ).
regrds,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Invalidate the node in OnSelelect Event of TabStrip.
lo_nd_hcp->invalidate( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Implement the onSelect event for tabstrip.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.