on 02-06-2008 1:17 PM
Hi all,
I have a few questions about table popins:
1. Is it possible to add a table UI in a table popins container which if the popins for more than one row are concurrently opened, the table on popin of each row show different values?
2. How can I close the popin of the specific row (by code) in run time?
3. What is the best way to implement a mechanism which will allow one popin only per row at any one time? If the user clicks on other row in table, the first popin will close and the selected row will open.
4. How should I implement a table popin for cell table?
Thanks in advance
Also have a look at the [TablePopinToggleCell|https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDTablePopinToggleCell.html]
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.yes you can add a table UI inside the table popin and also get different value in table .For that dynamically populate value for table.
2.you can do that by
wdContext.node.getnodeElementAt(rowid).setPopID("");
where PopID is the attribute which mapped to SelectedPopin property of table.
3.you can do that by write a method ex. closepopin
closepopin()
{
for(int i=0;i<tablenode.size;i++)
{
wdContext.node.getnodeElementAt(i).setPopID("");
}
}
and assign this method to onLeadSelection method of table.
thanks,
Dibyendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Yes it is possible to add a table UI inside the container of the table popin. For showing the different values in the table for a particular row, you need to populate the table according to the row selected.
2. For this you need to do parameter mapping of onClose method of table popin. That is you need to add a parameter of type element of the node to the action onClose. Like:
// Here node is the datasource of your table.
public void onActionCloseTablePopin(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.arisglobal.manoj.wdp.IPrivateMenuView.IProductsElement row )
{
//@@begin onActionCloseTablePopin(ServerEvent)
row.setKey("");// key is the attribute mapped to the selectedPopin of your table.
//@@end
}
3. Well i am not sure about this.
4. For this you need to add the tablecelleditor as linktoaction and add a tablepopin to the column and click of this link set the selectedPopin to the id of the column popin.
Hope thisd will help.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.