cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Rows selection in a Table view

Former Member
0 Kudos

Hello All,

I face a problem in Select All / Deselect All button towards the left top most corner of the Table view.

When the items are entered and when i click on "Select All" icon, it should be able to select all the item rows. but in my case i have implemented the below logic, but still the rows are not selected.

Component: ICCMP_BTITEM

view : ICCMP_BTITEM/ItemList

In this view page Htm the code is as below.

<chtmlb:configTable id="ConTable"

actions = "<%= controller->set_table_buttons( ). %>"

allRowsEditable = "X"

onRowSelection = "select"

actionsMaxInRow = "9"

navigationMode = "BYPAGE"

usage = "<%= lv_usage %>"

table = "//BTAdminI/Table"

fillUpEmptyRows = 'X'

downloadToExcel = "TRUE"

personalizable = "TRUE"

selectedRowIndex = "<%= controller->gv_selected_row %>"

selectionMode = "<%= BTAdminI->selection_mode %>"

width = "100%" />

</chtmlb:tableExtension>

It would be really great if you can let me know the solution. I tried even passing in the method SET_SELECTION_MODE too.

Regards,

Jagadish.G

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189678
Active Contributor
0 Kudos

The allRowsEditable tag be marked as true.

allRowsEditable = "TRUE"

Regards,

Harshit

Former Member
0 Kudos

Hi,

I have checked the value for the multiple row selection as allRowsEditable = "TRUE", but then the rows are not selectable. I am able to view the Multiple select button towards the top left hand side.

if ME->FILTER_ACTIVE = ABAP_TRUE.

ME->SELECTION_TAB = ME->LAST_LINE_ITERATOR->GET_MARKED_INDICES( ).

else.

ME->SELECTION_TAB = ME->COLLECTION_WRAPPER->IF_BOL_BO_COL~GET_MARKED_INDICES( ).

endif.

THer is a mothod BUILD_TABLE of the class CL_BSP_WD_CONTEXT_NODE_TV the logic is as specified below.

The flag me->filter_active is always blank and the other that i have noticed as ME->SELECTION_TAB is also initial.

How do i make both of these tables filled with data.

Jagadish.G

Edited by: jagadish g on Sep 9, 2009 2:33 AM