Skip to content

Commit 92b8c1f

Browse files
authored
Update tables.md
1 parent 3f84d41 commit 92b8c1f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/development/model/tables.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ CLASS z2ui5_cl_sample_tab IMPLEMENTATION.
2929
INSERT ls_row INTO TABLE t_tab.
3030
ENDDO.
3131
32-
DATA(view) = z2ui5_cl_xml_view=>factory( )->page( )->table(
32+
DATA(tab) = z2ui5_cl_xml_view=>factory( )->page( )->table(
3333
items = client->_bind( t_tab ) ).
3434
3535
tab->columns(
@@ -60,7 +60,7 @@ Making a table editable is a simple change. You just need to switch the binding
6060
INSERT ls_row INTO TABLE t_tab.
6161
ENDDO.
6262
63-
DATA(view) = z2ui5_cl_xml_view=>factory( )->page( )->table(
63+
DATA(tab) = z2ui5_cl_xml_view=>factory( )->page( )->table(
6464
items = client->_bind_edit( t_tab ) ).
6565
tab->columns(
6666
)->column( )->text( 'Count' )->get_parent(
@@ -136,9 +136,9 @@ CLASS z2ui5_cl_sample_tree IMPLEMENTATION.
136136
DATA(page) = z2ui5_cl_xml_view=>factory( )->page( ).
137137
138138
page->tree( items = client->_bind_edit( prodh_nodes )
139-
)->items(
140-
)->standard_tree_item( selected = '{IS_SELECTED}'
141-
title = '{TEXT}' ).
139+
)->items( )->standard_tree_item(
140+
selected = '{IS_SELECTED}'
141+
title = '{TEXT}' ).
142142
143143
client->view_display( page->stringify( ) ).
144144

0 commit comments

Comments
 (0)