File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed
Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -109,40 +109,40 @@ ENDCLASS.
109109CLASS z2ui5_cl_sample_tree IMPLEMENTATION.
110110 METHOD z2ui5_if_app~main.
111111
112- prodh_nodes =
113- VALUE #( ( text = 'Machines'
114- prodh = '00100'
115- nodes = VALUE #( ( text = 'Pumps'
116- prodh = '0010000100 '
117- nodes = VALUE #( ( text = 'Pump 001 '
118- prodh = '001000010000000100' )
119- ( text = 'Pump 002 '
120- prodh = '001000010000000105 ' )
121- )
122- ) )
123- )
124- ( text = 'Paints'
125- prodh = '00110'
126- nodes = VALUE #( ( text = 'Gloss paints'
127- prodh = '0011000105 '
128- nodes = VALUE #( ( text = 'Paint 001 '
129- prodh = '001100010500000100' )
130- ( text = 'Paint 002 '
131- prodh = '001100010500000105 ' )
132- )
133- ) )
134- ) ).
135-
136- DATA(page) = z2ui5_cl_xml_view=>factory( )->page( ).
112+ prodh_nodes = VALUE #( (
113+ text = 'Machines'
114+ prodh = '00100'
115+ nodes = VALUE #( (
116+ text = 'Pumps '
117+ prodh = '0010000100 '
118+ nodes = VALUE #( (
119+ text = 'Pump 001 '
120+ prodh = '001000010000000100 ' ) (
121+ text = 'Pump 002'
122+ prodh = '001000010000000105' ) )
123+ ) ) ) (
124+ text = 'Paints'
125+ prodh = '00110'
126+ nodes = VALUE #( (
127+ text = 'Gloss paints '
128+ prodh = '0011000105 '
129+ nodes = VALUE #( (
130+ text = 'Paint 001 '
131+ prodh = '001100010500000100 ' ) (
132+ text = 'Paint 002'
133+ prodh = '001100010500000105' )
134+ ) ) ) ) ).
135+
136+ DATA(page) = z2ui5_cl_xml_view=>factory( )->page( ).
137137
138- page->tree( items = client->_bind_edit( prodh_nodes )
138+ page->tree( items = client->_bind_edit( prodh_nodes )
139139 )->items( )->standard_tree_item(
140140 selected = '{IS_SELECTED}'
141141 title = '{TEXT}' ).
142142
143143 client->view_display( page->stringify( ) ).
144144
145- ENDMETHOD.
145+ ENDMETHOD.
146146ENDCLASS.
147147```
148148
You can’t perform that action at this time.
0 commit comments