cancel
Showing results for 
Search instead for 
Did you mean: 

TableView: De-Select selected rows

BGarcia
Active Contributor
0 Kudos

Hello to everyone,

I'm working with tableviews with selection mode by multiselect, and I learn a few things, such as to read the values from the rows selected.

However, I cannot do a simple task, such as de-select the rows previewed selected, without clicking in the upper left icon on the table.

Does anyone knows how can this might be achieved?

Thanks for any help

Best Regards

Bruno Garcia

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Bruno

Earlier i had the same problem and i solved it like this.

If your table has multiselect option, OnInputprocessing

just clear the selectedrowindextable

after that append 0 to this table.

like this

clear selectedRowIndexTable.

append 0 to selectedRowIndexTable.

and it works...

Regards

Mithlesh

athavanraja
Active Contributor
0 Kudos

just call this method in oninputprocessing

cl_htmlb_manager=>check_tableview_all_rows(

rowcount = rowcount

request = request

id = <tableviewid>

<b>check = ' '</b>

  • KEYTABLE = KEYTABLE

).

check = ' ' will clear all selected rows and

check = 'X' will select all rows.

Hope this helps.

Regards

Raja

Answers (0)