Skip to content

Commit 8ca6149

Browse files
authored
Update tables.md
1 parent 17037cf commit 8ca6149

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/development/model/tables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ 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(tab) = z2ui5_cl_xml_view=>factory( )->page( )->table(
64-
items = client->_bind_edit( t_tab ) ).
63+
DATA(tab) = z2ui5_cl_xml_view=>factory( )->page(
64+
)->table( client->_bind_edit( t_tab ) ).
6565
tab->columns(
6666
)->column( )->text( 'Count' )->get_parent(
6767
)->column( )->text( 'Value' )->get_parent(
@@ -71,7 +71,7 @@ Making a table editable is a simple change. You just need to switch the binding
7171
)->text( '{VALUE}'
7272
)->text( '{DESCR}' ).
7373
74-
client->view_display( view->stringify( ) ).
74+
client->view_display( tab ).
7575
7676
ENDMETHOD.
7777
```

0 commit comments

Comments
 (0)