Hello All,
I want to adjust column width for an ALV in web dynpro and at the same time that column has to be editable.
This is the code I’m using.
lr_column = lr_column_settings->get_column( 'YYINTERNAL_NOTES' ).
CREATE OBJECT lr_input_field EXPORTING value_fieldname = 'YYINTERNAL_NOTES'.
* lr_column->set_resizable( VALUE = abap_true ).
lr_column->set_width( VALUE = '60' ). “ colum width (1)
lr_column->set_cell_editor( lr_input_field ). “ Column editable (2)
Problem I’m facing is that when the column is made editable and I set the width with method SET_WIDTH, Column is only editable and the WIDTH is not changed.
If I comment out code line number 2, only to set the width, it works, the width is changed. Problem is faced when I try to set both things at the same time (column width and editable)
Any idea how to fix this?
Thanks in advance!!
Emanuel