Hi Jay,
I doubt that you can achieve this as easily in case of grid, as you are able to do it in list display. (I think this because with the possibility of selecting rows in a grid the check box based technique lost its relevance). So you are left with workaround solutions.
I can think of two ways to do this without additional buttons in the toolbar (so it will look like from user point of view that it is the standard behavior):
- Using parameter IT_EVENT_EXIT you can call your user command form before and/or after calling the standard logic of a standard button pressed (but the standard logic still gets executed, like marking all rows).
- Creating your own GUI status (e.g. copying STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN), and replacing the function code of select/deselect buttons with your own one, so they will loose their original logic and can be caught at user command event without any additional effort).
BR,
Gabor