cancel
Showing results for 
Search instead for 
Did you mean: 

Table Popin

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

abhijeet_mukkawar
Active Contributor
0 Kudos
Former Member
0 Kudos

Thanks for your help.

If possible, please explain required steps in detail

Former Member
0 Kudos

Hi Bub,

Follow this thread. look at the last reply, it has step by

step info on how to create a table popin.I have tried it and it works.

abhijeet_mukkawar
Active Contributor
0 Kudos

Hi,

Just see this link, you will get idea about the steps to be followed:

<b>Sample tutorial</b>

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/061f0ca3-0c01-0010-67a6-ecc...

hope it helps

regards

Message was edited by:

Abhijeet

Former Member
0 Kudos

hi

I solved it with your help.

but , I have a problem.

When I click popin button for one row in (the) table,

popin windows are activated for all rows.

How can I solve this problem?

Regards bk Kim.

Former Member
0 Kudos

Hi,

The Table.selectedPopin property controls whether and, if yes, which popin, is displayed for a row. The property must be linked to the data source of the table, if not a popin will appear in each row.

Former Member
0 Kudos

Thanks for your reply.

If possible, please explain required steps in detail

Former Member
0 Kudos

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.

Former Member
0 Kudos

Thanks very much Kbra.

I solved it.

Kbra, tell me how to close popin using IWDTablePopin

Regards bk Kim.

Answers (2)

Answers (2)

former_member189631
Active Contributor
0 Kudos

Hi BUB,

Please have look at this Link,

Regards,

<b>Ramganesan K</b>

Former Member
0 Kudos

Hi,

Please go through the following threads for table pop in