How To Mark All Records in a Form Grid

 step1: Create one check box in form group control


In Properties give datasource name and label name for checkbox field.



step2: override the onclicked method in checkbox 


step3: Paste the following code in that onclicked method


public void clicked()

{

#task;

super();

element.task(#taskSelectAll);

}

Comments

Popular posts from this blog

How to Create a wizard in x++ d365

X++ code to CREATE AND POST A TRADE AGREEMENT IN MICROSOFT DYNAMICS 365 in D365 F & O

x++ code to submit and approve and reject the invent movement workflow in d365 F&O