on 08-20-2014 9:49 AM
Hi Experts,
I have a functionality select all , it is not activating when clicking on select all.
I write the code in do_prepare_output.
me->typed_context->btqract->set_selection_mode( EXPORTING iv_selection_mode = cl_bsp_wd_context_node_tv=>selmode_multiedit ).
lr_sel_col ?= me->typed_context->btqract->collection_wrapper->get_marked( ).
IF lr_sel_col IS BOUND.
IF lr_sel_col->size( ) < 1.
lv_enable = abap_false.
ELSE.
lv_enable = abap_true.
ENDIF.
ENDIF.
Please help me get the solution.
Thanks & Regards,
Prasaditha.
Hi,
Enhance method do_prepare_output and change the selection mode
method DO_INIT_CONTEXT.
* set initial selection mode for all tables
typed_context->context_node_name->set_selection_mode(
IV_SELECTION_MODE = CL_BSP_WD_CONTEXT_NODE_TV=>SELMODE_MULTI
).
endmethod.
else change it .htm page tag configTable attribute "selectionMode" = 'MULTISELECT'
Regards,
Deepika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.