on 04-22-2009 12:34 PM
hi ,
I want to add a popin within my table.please refer me step by step solution to use a table popin.
Thanks And Regards
Aniruddha
Hi Aniruddha,
Refer wiki link https://wiki.sdn.sap.com/wiki/display/WDJava/TableCellPopininCe7.1withanExample.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can use this for popin
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().setPopinStatus(false);
}
else
{
wdContext.nodeDataNode().currentDataNodeElement().setPopinStatus(true);
}
Regards
Trilochan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer this link and refer the link given by nitin
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/howtoimplement+TablePopin&focusedCommentId=82805739]
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.