on 08-08-2014 12:49 PM
Is it possible to change the colour or the general style of the font or/and background of rows in a list GUIBB? I have a dataset where some entries (rows of the list) should be displayed to be inactive. So I would like e.g. to change the text colour to gray for these entries or to define some different background colours of the active/inactive rows. Any ideas?
Best regards,
Thomas
Hi Thomas,
Follow below steps:
1. Add additional field into your list structure with data element WDUI_TEXT_VIEW_DESIGN
2. Change the filed description.
CLEAR ls_field_def.
ls_field_def-name = give field name which you want to change color.
ls_field_def-cell_design_ref = 'DESIGN' . " name of the filed i.e. newly added field name with data "element WDUI_TEXT_VIEW_DESIGN
APPEND ls_field_def TO CT_FIELD_DESCRIPTION.
3. Set the value to 'DESIGN' field in ct_data at runtime with below values.
00 emphasized
01 header1
02 header2
03 header3
04 header4
05 label
06 label_small
07 legend
Regards,
Ragavendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.