Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set tiles in extra category #350

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/z2ui5_cl_demo_app_000.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,12 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).

panel = page->panel(
expandable = abap_false
expanded = abap_true
headertext = 'Tiles'
).

panel->generic_tile(
header = 'Tile'
subheader = 'Numeric Content Without Margins'
Expand Down
14 changes: 6 additions & 8 deletions src/z2ui5_cl_demo_app_162.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,12 @@ CLASS z2ui5_cl_demo_app_162 IMPLEMENTATION.
( product = 'table2' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
).

* DATA lt_result LIKE mt_table.
* "put the range in the where clause of your abap sql command
* "here we use an internal table instead
* LOOP AT mt_sql INTO DATA(ls_tab).
*
* "do filtering here..
*
* ENDLOOP.
z2ui5_cl_util=>filter_itab(
EXPORTING
filter = mt_sql
CHANGING
val = mt_table
).

ENDMETHOD.

Expand Down