Table View: Default Selected Line..
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.
tv_head_data->SELECTEDROWINDEX = 1.
Can Anyone Help ?..
Any suggestion / Hint really appreciated ( Points ).