Hi ALl,
I tried to redefine the EH_ONSELECT event in the View and i can see the index of the line selected in the
Selectedrowindex in the HTMLB_EVENT_EX
but how do i extrcat the index from this..
I tried using the CL_THTMLB_UTIL=>GET_EVENT_INFO
passing the HTMLB_EVENT_EX and tring to get the index but it returns blank as split code inside returns some codes...
pls find the below screen shot of my code in HTML.
Kindly help me with the same ..
<%
* Conversion Cnode SelectionMode to Tag
data: lv_cellerator_selectionmode type string,
lv_cellerator_editmode type string,
lv_cellerator_selectioncolumn type string.
cl_thtmlb_util=>translate_selection_mode(
exporting
iv_selection_mode = Result->SELECTION_MODE
* iv_all_rows_editable = space
iv_all_rows_editable = 'X'
importing
ev_selection_mode = lv_cellerator_selectionmode
ev_edit_mode = lv_cellerator_editmode
ev_selection_column = lv_cellerator_selectioncolumn ).
%>
<br>
<br>
<chtmlb:configCellerator actions = "<%= controller->gt_button %>"
<%-- actions = "<%= controller->IF_BSP_WD_DYN_BTN_CONTROL~GET_LOCAL_TOOLBAR_BUTTONS( ) %>"--%>
<%-- actionsMaxInRow = "<%= controller->IF_BSP_WD_DYN_BTN_CONTROL~GET_NO_OF_VISIBLE_TOOLBAR_BTNS( ) %>"--%>
actionsMaxInRow = "1"
downloadToExcel = "TRUE"
editMode = "<%= lv_cellerator_editmode %>"
id = "ConfCellTable"
onRowSelection = "select"
personalizable = "TRUE"
selectedRowIndex = "<%= Result->SELECTED_INDEX %>"
selectedRowIndexTable = "<%= Result->SELECTION_TAB %>"
selectionColumn = "<%= lv_cellerator_selectioncolumn %>"
selectionMode = "<%= lv_cellerator_selectionmode %>"
table = "//Result/Table"
usage = "EDITLIST"
visibleFirstRow = "<%= Result->VISIBLE_FIRST_ROW_INDEX %>"
visibleRowCount = "6"
width = "100%"
xml = "<%= controller->configuration_descr->get_config_data( ) %>"