Skip to content

Commit 3a69566

Browse files
authored
Update tables.md
1 parent 8ca6149 commit 3a69566

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/development/model/tables.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ CLASS z2ui5_cl_sample_tab IMPLEMENTATION.
2929
INSERT ls_row INTO TABLE t_tab.
3030
ENDDO.
3131
32-
DATA(tab) = z2ui5_cl_xml_view=>factory( )->page( )->table(
33-
items = client->_bind( t_tab ) ).
34-
32+
DATA(tab) = z2ui5_cl_xml_view=>factory( )->page(
33+
)->table( client->_bind( t_tab ) ).
3534
tab->columns(
3635
)->column( )->text( 'Counter' )->get_parent(
3736
)->column( )->text( 'Value' )->get_parent(
@@ -41,7 +40,7 @@ CLASS z2ui5_cl_sample_tab IMPLEMENTATION.
4140
)->text( '{VALUE}'
4241
)->text( '{DESCR}' ).
4342
44-
client->view_display( view->stringify( ) ).
43+
client->view_display( tab ).
4544
4645
ENDMETHOD.
4746
ENDCLASS.

0 commit comments

Comments
 (0)