AX – D365FO – Mark a form grid record with checkbox

This example mark all records of a form grid record looping throught the data source

public void selectall(boolean _select)
 
{
 
CompanyInfo     localCompanyInfo;
 
localCompanyInfo = companyInfo_ds.getFirst();
 
while(localCompanyInfo)
 
{
 
this.findRecord(localCompanyInfo);
 
this.mark(_select);
 

localCompanyInfo = companyInfo_ds.getNext();
 
}
 
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s