Notifications
Announcements
No record found.
Friends
if i have checkbox in my form in grid view binded to data source
i would like to disable all true status checked box in grid for the specified field when opening form ???
*This post is locked for comments
Hi,
if you want that all rows that have checked value should disable this field and all rows that have unchecked value should enable this field, well it does not work that way. You cannot have some records enabled and some records disabled in the same grid.
What you can do is enable or disable the field when record selection is changed. Although it will affect the whole column but it will not allow anyone to change the specified field in the selected record if checked value exists in it.
exactly i write this code in data source selection change event but nothing affected please advise
super();
if(VendInvoiceJour.paid==NoYes::Yes)
{
VendInvoiceJour_Paid.enabled(false);
}
else
VendInvoiceJour_Paid.enabled(true);
Dear Zain,
i have a trouble in Price Job (N-1040) its becoming a huge packet like 1.15 GB. is this any possibility to overcome it ??? Or reduce the size of this job ??
Note : we are using Microsoft Dynamics AX 2012 R2.
Regards
Tahir Khan
Hi Tahir,
Your question is not related to the topic being discussed in this post.
Please post a new question in the community, so all experts can see and help resolve your issue.
he can go to check box then unchecked it without changing selection so he can skip this validation step
ok
do you suggest another outsource event to skip this point
Hi Mohamed Moustafa,
Is your form is ListPage or Normal form? And can you please explain your question bit more if possible with screenshots.
Thanks
Suresh
[quote user="Mohamed Moustafa"]
[/quote]
The code you wrote above should work fine it will enable/disable the Paid field on the grid for the selected record. I just tested it on a simple list. It should work. If not, can you show me a screen shot? Maybe I understood your problem incorrectly.
Try to add this line at the end of your code.
element.redraw();
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2