on 05-26-2008 9:31 AM
I had a request to hide the lead selection of a table both in a normal table UI and in the ALV.
But there's not such attribute for tables to do it..
How to HIDE it???
Regards.
Fisher.
Hi,
I din't get ur question correctly , but if u want to avoid the table or alv to display the lead selection for the first time then unmark the node property Initial Lead Selection , then until unless u select a row from table the row will not be displayed as selected .
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to Hide the table through the leadselection,
Create an attribute as flag ( forexample) and bind that attribute to UI elemnet through which u want to select as visible in visibility property, and write the code as
Example:
IF lt_flights is NOT INITIAL.
WD_CONTEXT->SET_ATTRIBUTE(
EXPORTING
NAME = 'FLAG'
VALUE = ABAP_TRUE ).
Else.
WD_CONTEXT->SET_ATTRIBUTE(
EXPORTING
NAME = 'FLAG'
VALUE = ABAP_FALSE ).
Hi Yashpal
the read_only property do no effect to lead selection, it will turn all cells into text.
While the rowSelectable property will disable the lead selection,but my request is to hide it,to make it invisible.
here's an example but i cant get the brief.
Web Dynpro Component: MASTERMIND
Thank you
Hi,
In order to not have lead selection for that particular node for which table is bound keep the
cardinality as 0:n and selection 1:n(if single selction you want) else
have selection 1:n(for multi section )of table.
In the table set the property selectionmode to singlenolead or multinolead
according to your requirement.
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.