on 09-05-2014 3:12 PM
Hi Experts,
I am facing an issue related to transfer of filters during navigation between tabs. I have 3 tabs with 3 different data providers.
The first tab should be accessible from both the 2nd and 3rd tabs. In both the 2nd and 3rd tabs, the user may select a row and jump to the first tab.
ISSUE:
CASE 1:
Navigation sequence A: Tab 1- Tab2(row selected)-Tab 3(row selected)
Only selection from Tab 3 must be transferred to Tab 1.
Navigation sequence B: Tab 1- Tab 3(row selected)- Tab2(row selected)
Only selection from Tab 2 must be transferred to Tab 1.
I currently use the following command sequence on Tab strip 1.
CLEAR_ALL_SELECTION_STATES - Tab 2
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2
CLEAR_ALL_SELECTION_STATES - Tab 3
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3
But as it should be, this sequence works for the navigation sequence A and not for B as it always does the last binding with tab 3.
It would be great if any of you could advise on the command sequence or new commands to achieve this functionality!
Are these three DP's identical? I mean the infoobject on which you apply filter in 2nd and 3rd tabs is available in DP1?
Any user can select a row in any one tab at a time, right? He cannot apply filters in two tabs parallel.
I feel your command sequences are contradicting with each other when first sequence works and vice versa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suman,
Thanks for the reply.
1. The three DPs are not identical. Different queries in each DP.
2. The infoobject that I apply filter on in the 2nd and 3rd tabs is available in DP1
3. Although an user will select a row in any one tab at a time, if he does the following naviagation sequence:
DP1(No selection)-DP2(select a row)-DP3(select a row)-jump to DP1 from DP3, the selection he does in DP2 is also passed to DP1 according to my command sequence.(Only DP3 must be passed here).
Could you advise where I am making a mistake in my command sequence?
Ok. What about these?
CLEAR_ALL_SELECTION_STATES - Tab 2
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3
CLEAR_ALL_SELECTION_STATES - Tab 3
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2
(OR)
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2
Hi Suman,
Even these wont work.
Issue: When user select a row in both tab2 and Tab3.
Requirement: Only filters from the tab from which user jumps to tab 1 should be transferred.(Although rows in both tabs are selected)
With your proposed solution, when rows are selected in both tabs, only Tab 3 will be transferred.
Is there any sequence/command by which we can determine the tab from which the
user jumps to Tab 1. In short, can we implement the below IF condition in WAD?
IF (jump_source = Tab3)
CLEAR_ALL_SELECTION_STATES - Tab 2
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3
ELSEIF (jump_source = Tab2)
CLEAR_ALL_SELECTION_STATES - Tab 3
SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2
ENDIF
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.