cancel
Showing results for 
Search instead for 
Did you mean: 

clearing slected rows

Former Member
0 Kudos

Hi,

Any body can help me in this ? I want to clear row selected in table view, after server round trip. Currently whatever row I selected is remain selected, after server trip.

I am using multiselect mode. Any sort of help is highly appreciated……..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

if you have defined your table like this in Page layout

          <htmlb:tableView id              = "tv1"
                           design          = "STANDARD"
                           width           = "590"
                           table           = "<%= T_T800 %>"
                           selectionMode   = "MULTISELECT"
                           selectedRowIndextable= "<%= selectedRowIndextable %>"
selectedRowIndex= "<%= selectedRowIndex %>"
                           onRowSelection   = "selInprocess"
                           footerVisible="false"
                           fillUpEmptyRows = "FALSE" >
            <htmlb:tableViewColumns>

Then on InputProcessing...Just write this,.....

<b>

CLEAR SELECTEDROWINDEXTABLE.

APPEND INITIAL LINE TO SELECTEDROWINDEXTABLE.

SELECTEDROWINDEX = 0.</b>

It will solve your purpose...

Do reward points if found useful...

Cheers:)

Mithlesh

athavanraja
Active Contributor
0 Kudos

alternatively oninputprocessing you can call

cl_htmlb_manager=>check_tableview_all_rows(

rowcount = rowcount

request = request

id = <tableviewid>

check = ' '

  • KEYTABLE = KEYTABLE

).

to uncheck all rows.

chec = 'X' will select all rows.

Regards

Raja

Answers (2)

Answers (2)

Former Member
0 Kudos

thanz Mithlesh Jha and Raja, it was really helpful,

sorry for so late reply

regards

Former Member
0 Kudos

HI Bhupindra

just clear the selectedrowindextable and append initial line to selectedrowindextable....

It will solve you purpose...

Cheers:)

Mithlesh