Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
oblomov-dev committed Feb 28, 2024
1 parent 0255d8e commit c314332
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/z2ui5_cl_demo_app_080.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ PUBLIC
headers TYPE TABLE OF ty_s_headers WITH NON-UNIQUE DEFAULT KEY,
END OF ty_s_people .

DATA lt_people TYPE STANDARD TABLE OF ty_s_people.
DATA mt_people TYPE STANDARD TABLE OF ty_s_people.

PROTECTED SECTION.

Expand All @@ -55,6 +55,7 @@ CLASS z2ui5_cl_demo_app_080 IMPLEMENTATION.


METHOD z2ui5_display_view.

DATA(lv_s_date) = '2023-04-22T08:15:00'.
DATA(view) = z2ui5_cl_xml_view=>factory( ).

Expand All @@ -74,7 +75,8 @@ CLASS z2ui5_cl_demo_app_080 IMPLEMENTATION.

DATA(lo_planningcalendar) = lo_vbox->planning_calendar(
startdate = `{= Helper.DateCreateObject($` && client->_bind_local( lv_s_date ) && ') }'
rows = `{path: '` && client->_bind_local( val = lt_people path = abap_true ) && `'}`
rows = `{path: '` && client->_bind( val = mt_people path = abap_true ) && `'}`
* rows = `{ path: '` && client->_bind( val = mt_people path = abap_true ) && `}`
appointmentselect = client->_event( val = 'AppSelected' t_arg = VALUE #( ( `${$parameters>/appointment/mProperties/title}`) ) )
showweeknumbers = abap_true ).

Expand Down Expand Up @@ -140,7 +142,7 @@ CLASS z2ui5_cl_demo_app_080 IMPLEMENTATION.


METHOD z2ui5_set_data.
lt_people = VALUE #(
mt_people = VALUE #(
( name = 'Olaf' role = 'Team Member' pic = 'sap-icon://employee'
appointments = VALUE #(
( start = '2023-04-22T08:15:00' end = '2023-04-23T08:15:00' info = 'Mittag1' type = 'Type01' title = 'App1' tentative = abap_false pic = 'sap-icon://sap-ui5' )
Expand Down

0 comments on commit c314332

Please sign in to comment.