Notifications
Announcements
No record found.
greeting everyone
i want disable column (2 as in pic) depending on value on column (1 as in pic)
where must i put my condition and i don't want effect on other rows
i mean every row column 1 value must be effect on column 2 for the same row
If what you want is to close the field to edit, you can do it with field2.allowedit(condition) in the active method.
Since the active will only work for the line you're on, it(condition) will change when it moves to the next line
thanks for replay
it's work as you said but that method not on time it's running after move from current line
i mean if any change happened when i'm still on current line active method not running
You can create a new method to enable disable field 2 based on value from field 1.
Then call that method on formdatasource active and formdatasource field modified after super call.
thanks mr.Sumit Loya it's working fine
You can add the code to field1 modified
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 565 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader