Our support engineers have assembled the top recommended solutions for you.
Microsoft Dynamics AX 2012
Upgrading to Microsoft Dynamics AX 2012
Data Import, Export, and Migration
Microsoft Dynamics AX 2009
Application Object Server (AOS)
Enterprise Portal and Role Centers
SSRS and SSAS Integration
Is it possible to enable / disable checkboxes per line in a grid control? I'm trying to setup some code in a form or form datasource which will disable a checkbok in once column of the line when another checkbox is ticked. If I do something like the following it toggles the entire column of the grid not the specific line I'm on:
Same deal if I try and do it this way
Has anyone else done something along these lines (no pun intended) before?
Though I maybe wrong, I don't think that you can change the state of a field inside a grid per line.
If you call the code that you wrote above each time the focus changes to a different line (I think calling it from the active method on the datasource would do the trick) as well as when the user toggles the checkbox, I think you would get a similar effect.
I think you might be right that its not possible. Unless anyone else offers a solution I think I might need to do something else. Perhaps put a clicked method on the checkbox itself to check if the conditions are valid to allow the change. I could also put something in the validiatewrite method of the table to prevent invalid selections.
Other Microsoft Sites
I'm a Customer
I'm a Partner
Follow Microsoft Dynamics