Skip to content

Commit

Permalink
Update Sample 199
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Hoffmann authored and Viktor Hoffmann committed May 16, 2024
1 parent 529ad6e commit 6ffc291
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/z2ui5_cl_demo_app_000.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,15 @@ CLASS Z2UI5_CL_DEMO_APP_000 IMPLEMENTATION.
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).

panel->generic_tile(
header = 'Dynamic Objects VI'
subheader = 'User Generic Struc Refs with refresh'
press = client->_event( 'Z2UI5_CL_DEMO_APP_199' )
mode = 'LineMode'
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).


panel = page->panel(
expandable = abap_false
expanded = abap_true
Expand Down
8 changes: 7 additions & 1 deletion src/z2ui5_cl_demo_app_199.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,17 @@ CLASS z2ui5_cl_demo_app_199 IMPLEMENTATION.

METHOD render_main.

DATA(page) = z2ui5_cl_xml_view=>factory( ).
DATA(view) = z2ui5_cl_xml_view=>factory( ).

FIELD-SYMBOLS <tab> TYPE data.
ASSIGN mt_table->* TO <tab>.

DATA(page) = view->page( id = `page_main`
title = 'Refresh'
navbuttonpress = client->_event( 'BACK' )
shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
class = 'sapUiContentPadding' ).

DATA(table) = page->table( growing = 'true'
width = 'auto'
items = client->_bind( <tab> )
Expand Down
2 changes: 1 addition & 1 deletion src/z2ui5_cl_demo_app_199.clas.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<VSEOCLASS>
<CLSNAME>Z2UI5_CL_DEMO_APP_199</CLSNAME>
<LANGU>E</LANGU>
<DESCRIPT>Deep Structure Sub App</DESCRIPT>
<DESCRIPT>Type Ref to Data Table with refresh</DESCRIPT>
<STATE>1</STATE>
<CLSCCINCL>X</CLSCCINCL>
<FIXPT>X</FIXPT>
Expand Down

0 comments on commit 6ffc291

Please sign in to comment.