Task Dependency Setup

Describe what you’ve built or ask your questions in enough detail, so others can clearly understand and (hopefully) replicate! Screenshots and links to what you built are encouraged.


My name is Kevin. My question is about using javascript to create task dependency setup.

I have created a task table with a self-joint relationship - many to many. A task can have many sub_tasks. This part works fine with the form submission.

My problem is in the grid view. I have enabled inline editing. The user can allow modify if the field (Completed - Yes/No). I want to limit the user to only be able to mark as completed (yes) when the sub_tasks have all been completed.

Your input is greatly appreciated.