mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
Update Layout and Sample (#1230)
Some checks are pending
build_downport / build_downport (push) Waiting to run
Some checks are pending
build_downport / build_downport (push) Waiting to run
This commit is contained in:
parent
22e9836b79
commit
fe3efc9550
|
@ -76,6 +76,8 @@ CLASS z2ui5_cl_pop_layout_v2 DEFINITION
|
||||||
DATA mv_active_subcolumn TYPE string.
|
DATA mv_active_subcolumn TYPE string.
|
||||||
DATA mt_comps TYPE ty_t_positions.
|
DATA mt_comps TYPE ty_t_positions.
|
||||||
DATA mt_sub_cols TYPE ty_t_sub_columns.
|
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
|
CLASS-METHODS on_event_layout
|
||||||
IMPORTING
|
IMPORTING
|
||||||
|
@ -1253,6 +1255,8 @@ CLASS z2ui5_cl_pop_layout_v2 IMPLEMENTATION.
|
||||||
|
|
||||||
mt_comps = ms_layout-t_layout.
|
mt_comps = ms_layout-t_layout.
|
||||||
mt_sub_cols = layout->t_sub_col.
|
mt_sub_cols = layout->t_sub_col.
|
||||||
|
mt_sub_cols_tmp = mt_sub_cols.
|
||||||
|
clear mv_rerender.
|
||||||
|
|
||||||
render_add_subcolumn( ).
|
render_add_subcolumn( ).
|
||||||
|
|
||||||
|
@ -1272,6 +1276,10 @@ CLASS z2ui5_cl_pop_layout_v2 IMPLEMENTATION.
|
||||||
|
|
||||||
layout->t_sub_col = mt_sub_cols.
|
layout->t_sub_col = mt_sub_cols.
|
||||||
|
|
||||||
|
IF mt_sub_cols <> mt_sub_cols_tmp.
|
||||||
|
mv_rerender = abap_true.
|
||||||
|
endif.
|
||||||
|
|
||||||
client->popup_destroy( ).
|
client->popup_destroy( ).
|
||||||
|
|
||||||
init_edit( ).
|
init_edit( ).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user