cancel
Showing results for 
Search instead for 
Did you mean: 

table popin

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Aniruddha,

Refer wiki link https://wiki.sdn.sap.com/wiki/display/WDJava/TableCellPopininCe7.1withanExample.

Kind Regards,

Nitin

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

hi

thanks for your help.Can we use more than one popin in the same table?Please reply me as early as possible.

Thanks & regards

Aniruddha

Edited by: aniruddha bhattacharyya on Apr 23, 2009 4:37 PM

former_member201361
Active Contributor
0 Kudos

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