on 05-07-2008 10:34 PM
Hi,
I'm having a table UI element with 3 columns.
I'm populating 5 records.
When i select a field in row 2, entire row should be selected.
How can i do this?
Sample codes are welcome.
Thx,
Patrick
hi patrick......
in the properties of the table ui element you have an option called rowselectable. just check it.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick,
As far as I know, the table UI element doesn't have any event for selecting a field in a particular row. The ALV however, has an event which captures any action in a cell.
In case you are able to capture the selection of a cell, then you can write code similar to the following:
data lo_element type if_wd_context_element.
call method wdevent->get_context_element
exporting
name = 'CONTEXT_NODE'
receiving
value = lo_element.
call method lo_element->set_selected
exporting
flag = abap_true.
Regards,
Wenonah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.