on 09-02-2008 1:55 PM
Hello experts, im using ALV in WebDynpro, and i have this code:
lr_column = lo_value->if_salv_wd_column_settings~get_column( 'ZNC_MONTO_LIQ' ).
lr_column_header = lr_column->get_header( )
lr_column_header->set_text( 'IMPORTE' ).
but this code, doesn't change the title of the column.
the same happens when i put the visibility in "none" or when i change the position of the column
Anyone can tell why this is happening?
Thanks!
add this line also
LR_COLUMN_HEADER->set_ddic_binding_field( IF_SALV_WD_C_DDIC_BINDING=>DDIC_BIND_NONE ).
Regards
Tamil
Edited by: Tamilselvan K on Sep 2, 2008 6:32 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't set the text of the generated header directly. You have to first delete the standard header and create a new one. You can then override the header text.
l_column = l_table->if_salv_wd_column_settings~get_column( 'CREATED_AT' ).
l_column->delete_header( ).
l_header = l_column->create_header( ).
l_header->set_text( `Created At` ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.