Hi Nabheet,
Try to add new parameter
allRowsEditable | = "TRUE" |
and you can get index in your event select (in your view check eh_onselect event)that you have defined above in .htm code with the code:-
htmlb_event , htmlb_event_ex are importing parameter of eh_onselect event .
METHOD eh_onselect.
DATA: lv_event TYPE REF TO cl_htmlb_event_tableview,
lv_index TYPE string,
lv_event ?= htmlb_event.
me->typed_context->contextnode->eh_on_row_selection(
iv_htmlb_event = lv_event
iv_htmlb_event_ex = htmlb_event_ex ).
lv_index = me->typed_context->contextnode->selected_index.
ENDMETHOD.
After getting index you can delete from collection.
Regards,