on 08-13-2009 3:21 PM
Hi!
I would like to know, is it possible to change the marked row (lead selection), in a UI table, only with clicking on the table columns? Even with clicking on an inputfield?
F.e: I have a table, the first row is marked by default. It has 2 columns (COL1 and COL2), both inputfields, and of course the marker column on the table's left side. If I click on the COL2 column's second row (an input field) can I put the lead selection to the second row, to avoid an unneccessary click on the marker column?
Thank you in advance
Tamá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, thanks.
Edited by: Tamás Nyisztor on Aug 18, 2009 3:20 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That functionality isn't offered by the table UI element until NetWeaver 7.0 Enhancement Package 2. Here are a listing of table UI element enhancements that are currently working in 7.02 (more enhancements are possible before we ship next year):
Selection Behavior has been improved; clicking anywhere on table row leads to a selection
Secondary selection no longer triggers a round trip
Selection mode singleNoLead and multiNoLead without an onSelect no longer trigger an unnecessary server round trip
New property DefaultButton for use in the Table Toolbar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanx for the info.
Netweaver has the following version (system/status): SAP NetWeaver 2004s, SAP_ABA, release: 700, level:0016. Will this level contain this functionality?
If yes, how can I code this functionality?
Selection Behavior has been improved; clicking anywhere on table row leads to a selection
Try this approach,
Implement the OnEnter event for the Inputfield. In this method write the following code.
Regards,
Radhika.data: lr_element type ref to if_wd_context_element,
lv_index type i.
" get the index of the cell
lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
lv_index = lr_element->get_index( ).
Data: l_node type ref to if_wd_context_node.
l_node = wd_context->get_child_node( 'NODENAME' ).
" set lead selection
l_node->set_lead_selection_index( lv_index ).
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.