mark all loaded records

Hi,

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 ?

Hi,

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

yourDatasourceName_ds.markAllLoadedRecords(1);

Regards

Thanks florent