on 05-03-2007 3:51 AM
hi everyone.
I want to use table popin functionality in table.
because I'm a beginner in development,
I have a lot of difficulties to implement tablepopin function by
referrring related materials.
IS there another easy & better way to implement tablePopin function?
Regards bk Kim.
Hi,
This links will help you:
http://help.sap.com/saphelp_nw2004s/helpdata/en/de/416d42ab7fd142e10000000a1550b0/frameset.htm
<b>TablePop-In API:</b>
http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/cd42428e999923e10000000a155106/content.htm
hope it helps
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just see this link, you will get idea about the steps to be followed:
<b>Sample tutorial</b>
hope it helps
regards
Message was edited by:
Abhijeet
Heres what you need to do:
1. Say this is your current node:
DataNode
|-Name
|-Age
|-Company
|-Description
Add two attributes to this:
DataNode
|-Name
|-Age
|-Company
|-Description
|-Popin (String)
|-PopinStatus(boolean)
2. Right click on the Table UI element and select Insert Popin. A popin with an ID, say Popin1 is created.
3. Insert Content in Popin1 - a text view and bind the text of this element to DataNode.Description
4. In the table properties, set the value against selectedPopin as Data.Popin
5. In your implementation, set the value of DataNode.PopinStatus to false initially (wdDoInit() of view controller).
6. On click of a row, the corresponding row popin must be displayed and on subsequent click, it must be collapsed.
7. To achieve this, in your action on lead select in the table, give this:
if(wdContext.nodeDataNode().currentDataNodeElement().getPopin())
{
wdContext.nodeDataNode().currentDataNodeElement().setPopin("");
wdContext.nodeDataNode().currentDataNodeElement().setPopinStatus(false);
}
else
{
wdContext.nodeDataNode().currentDataNodeElement().setPopin("Popin1");
wdContext.nodeDataNode().currentDataNodeElement().setPopinStatus(true);
}
8. Deploy your app..it should work just fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.