mark all loaded records


How to mark all loaded records in a grid .

I have 10 records in a grid .

when i open the form all 10 records are displayed .

when we will take action to select the top left corner checkbox in the grid , all loaded(10) records are selected.

My question is…

How to do default this action, when i open the form ?


You just need to add this after the super() of the run method :



Thanks florent