how to mark first record by default in oo ALV
I am using OO ALV to display ALV Grid in Custom Container. How to mark the frst record by default in ALV Grid.!
Thanks in Advance,
Kiran Kumar Valluru replied
Using set_selected_rows() method you can achieve this.,
First Call ALV using o_grid->set_table_for_first_display
Then call o_grid->set_selected_rows " here o_grid is reference to cl_gui_alv_grid
You have to pass parameter index 1 to it_row_no.
Also you can pass the row numbers which you want to select by default .,
hope this helps u.,
Thanks & Regards,