Update Layout and Sample (#1230)
Some checks are pending
build_downport / build_downport (push) Waiting to run

This commit is contained in:
abapsheep 2024-06-25 12:46:38 +02:00 committed by GitHub
parent 22e9836b79
commit fe3efc9550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,8 @@ CLASS z2ui5_cl_pop_layout_v2 DEFINITION
DATA mv_active_subcolumn TYPE string.
DATA mt_comps TYPE ty_t_positions.
DATA mt_sub_cols TYPE ty_t_sub_columns.
DATA mt_sub_cols_tmp TYPE ty_t_sub_columns.
DATA mv_rerender type abap_bool.
CLASS-METHODS on_event_layout
IMPORTING
@ -1253,6 +1255,8 @@ CLASS z2ui5_cl_pop_layout_v2 IMPLEMENTATION.
mt_comps = ms_layout-t_layout.
mt_sub_cols = layout->t_sub_col.
mt_sub_cols_tmp = mt_sub_cols.
clear mv_rerender.
render_add_subcolumn( ).
@ -1272,6 +1276,10 @@ CLASS z2ui5_cl_pop_layout_v2 IMPLEMENTATION.
layout->t_sub_col = mt_sub_cols.
IF mt_sub_cols <> mt_sub_cols_tmp.
mv_rerender = abap_true.
endif.
client->popup_destroy( ).
init_edit( ).