on 10-02-2009 11:25 AM
Hi,
I have a table on a view of my dynpro and by default the first row is selected.
How I can show my table without any row selected?
Tks a lot.
Hi,
In your view go to the method WDDOMODIFYVIEW and use the following code to deselect the row.
DATA: o_node_output_data TYPE REF TO if_wd_context_node.
o_node_output_data = wd_context->get_child_node( name = '<context table name>' ).
o_node_output_data->set_lead_selection_index( o_node_output_data->no_selection ).
Let me know if that works.
Regards
Prasenjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Please go to the context node to which the table is bound. If you click on the context node then you can see the Properties section below for the node.In there you will find one variable called Initialise Lead Selection which has a checkbox. Uncheck the checkbox and the top row will not be selected by default.
For multiple selection please select the Selection Mode as Multi for the table in Layout.
Regards,
Arpan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just uncheck the
"Initialization Lead Selection" check box from the CONTEXT-NODE 'Properties which you have assigned to the TABLE.
And suppose you do not want any raw of ur TABLE being selected than uncheck the "Raw Section" check box from TABLE Properies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.