Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Table View: Default Selected Line..

Hi All,

I have a table view in my application.

now my requirement is to make a line(first line) selected by default initially ( when the page is loaded ).

I tried the following code in the do_init( ) but didnt worked..

  • tv_head ?= cl_htmlb_manager=>get_data(

  • request = runtime->server->request

  • name = 'tableView'

  • id = 'headerlist' ).

  • IF tv_head IS NOT INITIAL.

  • tv_head_data = tv_head->data.

  • ENDIF.


  • tv_head_data->SELECTEDROWINDEX = 1.

Can Anyone Help ?..

Any suggestion / Hint really appreciated ( Points ).

Thanks, Sudeep..

Not what you were looking for? View more on this topic or Ask a question