Skip to content

Commit a4c9cf4

Browse files
authored
Update tables.md
1 parent 3b94d2c commit a4c9cf4

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

docs/development/model/tables.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -109,40 +109,40 @@ ENDCLASS.
109109
CLASS 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.
146146
ENDCLASS.
147147
```
148148

0 commit comments

Comments
 (0)