2006 Oct 12 11:45 AM
Hi,
How is it possible to resize the ALV grid itself, not just the columns in ALV?
Thanks & Regards,
Reena
Hi,
How is it possible to resize the ALV grid itself, not just the columns in ALV?
Thanks & Regards,
Reena
2006 Oct 12 11:46 AM
Increase the container size.
If are using the docking container, the container size can be increased like this.
CREATE OBJECT o_dockingcontainer1
EXPORTING
repid = sy-repid
dynnr = sy-dynnr
side =
cl_gui_docking_container=>dock_at_top
extension = 350
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
Regards,
Prakash.
2006 Oct 12 11:48 AM
I want it happen at runtime, i.e when I run the program and when the ALV grid is displayed, I want to resize it.
2006 Oct 12 12:03 PM
I don't think the ordinary ALV container can be resized during runtime.
Better option will be going for Docking container, in which we can be specify size at run time.
CREATE OBJECT o_dockingcontainer1
EXPORTING
repid = sy-repid
dynnr = sy-dynnr
side =
cl_gui_docking_container=>dock_at_top
extension = 350
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
Regards,
Prakash.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |