2006 Jan 26 12:35 PM
Hello,
I'm using ALV Grid Control to show tabular data. This ALV Grid has layout with hided toolbar (I passed I_LAYOUT import to method set_table_for_first_display).
If I call REFRESH_TABLE_DISPLAY method to this ALV Grid, toolbar suddenly appears.
I tried this:
data: wa_layout TYPE LVC_S_LAYO.
wa_layout-NO_TOOLBAR = 1.
call method hpl_grid->set_frontend_layout
exporting IS_LAYOUT = wa_layout.
call method hpl_grid->refresh_table_display.
.. but problem remains the same. I even tried to switch set_frontend_layout and refresh_table_display methods.
Can anybody help me?
Josef Motl
2006 Jan 26 2:44 PM
If you set
wa_layout-NO_TOOLBAR = 1.it won't work
but try
wa_layout-NO_TOOLBAR = 'X'.- it works
If you set
wa_layout-NO_TOOLBAR = 1.it won't work
but try
wa_layout-NO_TOOLBAR = 'X'.- it works
2006 Jan 26 2:44 PM
If you set
wa_layout-NO_TOOLBAR = 1.it won't work
but try
wa_layout-NO_TOOLBAR = 'X'.- it works
2006 Jan 26 2:48 PM
Josef,
Try this,
Get the existing layout using GET_FRONTEND_LAYOUT, take that layout - modify that and then pass it to SET_FRONTEND_LAYOUT.
Regards,
Ravi
Note : Please reward the posts that help you.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |