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

Change of Field Catalogue in handle_data_changed Event Method of ALV Grid

$
0
0

Dear Experts.

 

I have a use case, where I would like to make some columns appear/disappear on press of an enter. And I have programmed the enter event, using a method called 'handle_data_changed'.

But when is use the following to make the coloumns appear/disappear inside the handle_data_changed method, none of these below work at all.

 

 

          CALL METHOD g_grid->set_frontend_fieldcatalog

            EXPORTING

              it_fieldcatalog = gt_fcat.



          CALL METHOD g_grid->get_frontend_layout

            IMPORTING

              es_layout = gs_layout.

 

Is the reason behind this a auto refresh of gt_outtab running after the method : handle_data_changed ?

 

What would the solution this use case ?

 

Regards,

Naresh


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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