on 04-14-2015 9:14 AM
Hi,
Currently I am facing difficulty to remove one Lane header from aggregation of ProcessflowLaneheader. I am able to remove all Processflowlanes but not specific.
Please suggest me how to use removeLane() method to pass the argument of specific lane.
I used below xml view and controller.
<html:div ">
<s:ProcessFlow id="processflow1">
<s:nodes>
<s:ProcessFlowNode id="ProcessFlowNode1" nodeId="nodeId1" laneId="laneId0" title="ProcessFlowNode1"/>
<s:ProcessFlowNode id="ProcessFlowNode2" nodeId="nodeId2" laneId="laneId1" title="ProcessFlowNode2"/>
<s:ProcessFlowNode id="ProcessFlowNode3" nodeId="nodeId3" laneId="laneId2" title="ProcessFlowNode3" children="nodeId4"/>
<s:ProcessFlowNode id="ProcessFlowNode4" nodeId="nodeId4" laneId="laneId3" title="ProcessFlowNode4" />
</s:nodes>
<s:lanes>
<s:ProcessFlowLaneHeader id="processFlowLaneHeader1" laneId="laneId0" iconSrc="" text="General" position="0"/>
<s:ProcessFlowLaneHeader id="processFlowLaneHeader2" laneId="laneId1" iconSrc="" text="Review" position="1"/>
<s:ProcessFlowLaneHeader id="processFlowLaneHeader3" laneId="laneId2" iconSrc="" text="Market" position="2"/>
<s:ProcessFlowLaneHeader id="processFlowLaneHeader4" laneId="laneId3" iconSrc="" text="Initiate" position="3"/>
</s:lanes>
</s:ProcessFlow>
</html:div>
I am able to removeallLanes like below.
sap.ui.getCore().byId("idprocessflow1").byId("processflow1").removeAllLanes();
Currently I am facing difficulty to delete singleLane from processflow.
removeLane() is available to use but didn't work for me as of now.
Regards,
Koti Reddy
Now I am able to remove correctly using removeLane() and removeNode() methods.I am unable to rerender the processflow to show the available latest Lanes only.
Tried rerender/invalidate...are there any hints to refresh the processflow .
Regards,
Koti Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.