From f2b1f536c2f75302e4a1ed5b2bf6d4f179cb12bb Mon Sep 17 00:00:00 2001 From: choper725 Date: Sat, 13 Jan 2024 20:38:16 +0000 Subject: [PATCH] fix demo 76 - gantt demo --- src/z2ui5_cl_demo_app_076.clas.abap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/z2ui5_cl_demo_app_076.clas.abap b/src/z2ui5_cl_demo_app_076.clas.abap index b882835e..ff523ae0 100644 --- a/src/z2ui5_cl_demo_app_076.clas.abap +++ b/src/z2ui5_cl_demo_app_076.clas.abap @@ -49,6 +49,7 @@ CLASS Z2UI5_CL_DEMO_APP_076 DEFINITION METHODS Z2UI5_on_event . METHODS Z2UI5_set_data . +private section. ENDCLASS. @@ -87,7 +88,7 @@ CLASS Z2UI5_CL_DEMO_APP_076 IMPLEMENTATION. DATA(view) = z2ui5_cl_xml_view=>factory( ). - view->_generic_property( VALUE #( n = `core:require` v = `{Helper:'sap/z2ui5/Helper'}` ) ). + view->_generic_property( VALUE #( n = `core:require` v = `{Helper:'z2ui5/Util'}` ) ). DATA(page) = view->page( id = `page_main` title = 'abap2UI5 - Gantt' @@ -111,7 +112,7 @@ CLASS Z2UI5_CL_DEMO_APP_076 IMPLEMENTATION. )->tree_column( label = 'Col 1' )->tree_template( )->text( text = `{TEXT}` )->get_parent( )->get_parent( )->get_parent( * )->tree_column( label = 'Col 1' template = 'text' )->get_parent( )->get_parent( )->row_settings_template( - )->gantt_row_settings( rowid = `{ID}` shapes1 = `{TASK}` shapes2 = `{SUBTASK}` + )->gantt_row_settings( rowid = `{ID}` shapes1 = `{path: 'TASK', templateShareable:false}` shapes2 = `{path: 'SUBTASK', templateShareable:false}` )->shapes1( )->task( time = `{= Helper.DateCreateObject(${STARTTIME} ) }` endtime = `{= Helper.DateCreateObject(${ENDTIME} ) }` type = `SummaryExpanded` color = `sapUiAccent5` )->get_parent( )->get_parent( @@ -140,5 +141,4 @@ children = VALUE #( ( id = `line2` text = `Level 2` ) ) ) ) ) . ENDMETHOD. - ENDCLASS.