Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: cl_gui_alv_grid scrolls to bottom of grid table after line insert

$
0
0

Hi Larry, you have to use the bottom

alv1.jpg

don´t use Insert Row Bottom because its work is insert a row above of the row focus

 

You can exclude the Insert Row bottom using it_toolbar_excluding parameter

 

CALL METHOD g_grid->set_table_for_first_display

        exporting is_layout                  = ps_layout

                      it_toolbar_excluding  = lt_exclude

        changing it_fieldcatalog           = pt_fieldcat

                      it_outtab                  = pt_outtab.

 

And the code of this bottom is

 

APPEND cl_gui_alv_grid=>mc_fc_loc_insert_row TO lt_exclude.

 

I hope this help you

 

Regards

David Carballido


Viewing all articles
Browse latest Browse all 9164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>