Skip to content

Commit 3f84d41

Browse files
authored
Update tables.md
1 parent 46221fb commit 3f84d41

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/development/model/tables.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ CLASS z2ui5_cl_sample_tab IMPLEMENTATION.
3333
items = client->_bind( t_tab ) ).
3434
3535
tab->columns(
36-
)->column( )->text( 'Color' )->get_parent(
37-
)->column( )->text( 'Info' )->get_parent(
36+
)->column( )->text( 'Counter' )->get_parent(
37+
)->column( )->text( 'Value' )->get_parent(
3838
)->column( )->text( 'Description' ).
3939
tab->items( )->column_list_item( )->cells(
40+
)->text( '{COUNT}'
4041
)->text( '{VALUE}'
41-
)->text( '{INFO}'
4242
)->text( '{DESCR}' ).
4343
4444
client->view_display( view->stringify( ) ).
@@ -63,12 +63,12 @@ Making a table editable is a simple change. You just need to switch the binding
6363
DATA(view) = z2ui5_cl_xml_view=>factory( )->page( )->table(
6464
items = client->_bind_edit( t_tab ) ).
6565
tab->columns(
66-
)->column( )->text( 'Color' )->get_parent(
67-
)->column( )->text( 'Info' )->get_parent(
66+
)->column( )->text( 'Count' )->get_parent(
67+
)->column( )->text( 'Value' )->get_parent(
6868
)->column( )->text( 'Description' ).
6969
tab->items( )->column_list_item( )->cells(
70+
)->text( '{COUNT}'
7071
)->text( '{VALUE}'
71-
)->text( '{INFO}'
7272
)->text( '{DESCR}' ).
7373
7474
client->view_display( view->stringify( ) ).

0 commit comments

Comments
 (0)