on 11-22-2005 1:48 PM
Hello everybody,
how can i determine the row in a table for which the respective LinkToAction Element fired the event onAction?
Regards,
Markus
Markus,
Lead selection occurs before onAction -- so you may refer wdContext.nodeYourTableNode().currentYourTableNodeElement() inside action handler.
For more advanced options read https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c092333b-0601-0010-e7af-8c2...
Valery Silaev
EPAM System
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Valery,
do i have to set the Lead Selection Change manually? Because using the code you provided to determine the current selected row index doesnt work. It always give me the leadselection row back which is 0 at the start. Clicking any of the LinkToAction Elements doesnt change the lead selection, so the index remains 0.
regrads,
Markus
Markus,
Check this document (link is posted already above): https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c092333b-0601-0010-e7af-8c2...
If your NW support this, then solution is obvious from tutorial (via IWDNodeElement parameter), otherwise you are out of luck: the only option is to allow row selection on any cell (btw, you may have read-only table instead of disabled).
VS
User | Count |
---|---|
95 | |
11 | |
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.