Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3570

Re: Tree UIBB: color /weight of font in a row

$
0
0

Hi Francesca,

 

This is not for LIST UIBB but for ALV see if this helps you..

I have not tried below code but might work for you.. You need to use TEXT_VIEW to get this done.

Get all columns and loop through.

 

alessandroiannacci.it/default.asp?det=10

 

 

lt_columns = lo_column_settings->get_columns( ).

 

LOOP AT lt_columns ASSIGNING <fs_columns>.

  lo_column = lo_column_settings->get_column( <fs_columns>-id ).

 

  CASE <fs_columns>-id.

  WHEN 'EXPIRED_PRO'. "Red text

    DATA: lr_text_view TYPE REF TO cl_salv_wd_uie_text_view.

    DATA: lr_ui TYPE REF TO cl_salv_wd_uie.

    lr_ui = lo_column->get_cell_editor( ).

    lr_text_view ?= lr_ui.

    lr_text_view->set_semantic_color( value = cl_wd_text_view=>e_semantic_color-negative ).

  ENDCASE.

ENDLOOP.



Have a look to this URL


http://help.sap.com/saphelp_erp60_sp/helpdata/en/b6/b7bc68306049bd8500362ce52b6def/content.htm





Thanks-

Abhishek


Viewing all articles
Browse latest Browse all 3570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>