As we all know, we can set the color for each cell in gui alv, it's similar in web alv. like this picture

Set web ALV color for each cell WD4A

How can we do that ?
there are two ways .
1. set the color directly
LOOP AT COLUMNS INTO LS_COLUMN.
lr_column->SET_CELL_DESIGN( 'CL_WD_TABLE_COLUMN=>T_CELL_DESIGN' )
"there are 19 colors: 00 - 18
ENDLOOP.
2. if the color is dynamic , we can set the cell design name to the spefic column
lr_column->SET_CELL_DESIGN_FIELDNAME( VALUE = CD_FIELDNAME ).
well, CD_FIELDNAME contains the values '00 - 18 '
well, differ cell designs may have different fonts. i ve tried to find some way to set fonts, but failed. if some one find the way, please contact me.thank you !

相关文章:

  • 2022-12-23
  • 2021-10-05
  • 2021-07-12
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
猜你喜欢
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-11-06
相关资源
相似解决方案