09-29-2008 11:05 AM
Hi All,
'Deselect All' button is on application toolbar.
In the ALV grid when i press 'Deselect All' Button all the checkbox should deselect.
I writen the code like this.
LOOP AT t_final INTO g_wa_final.
g_wa_final-chkbx = ''.
MODIFY t_final FROM g_wa_final .
ENDLOOP.
CALL METHOD alv_list->refresh_table_display.
grid is not refreshing. But i press refresh button on grid then it is deselecting all.
Regards,
vijay
09-29-2008 11:23 AM
Hi,
try this:
WHEN 'DALL'. <- deselect-button
*
CALL METHOD GR_ALVGRID->SET_SELECTED_ROWS.
*
CALL METHOD CL_GUI_CFW=>FLUSH.
Regards, Dieter
09-29-2008 11:17 AM
09-29-2008 11:23 AM
Hi,
try this:
WHEN 'DALL'. <- deselect-button
*
CALL METHOD GR_ALVGRID->SET_SELECTED_ROWS.
*
CALL METHOD CL_GUI_CFW=>FLUSH.
Regards, Dieter
09-29-2008 11:24 AM
09-29-2008 11:37 AM
Thanks a lot it is working fine but when i press 'selected all' thereafter i pressed 'Deselect all' it is not working.
But i checked checkbox and deselect it is working fine.
regards,
vijay