Hi All,
i have a requirement which might sound confusing and i am not able to achieve it so reaching out for help.
i have a gallery with multiple month columns (Jan,Feb,March), now when i hit the edit button i can edit the data.
Now the user have a specific requirement, this is in regard to resource utilization. The total resource utilization of an employee for a month cannot be greater than 1.
Now, as you see in the below image , what i am trying to explain is , if lets say user A has a project ABCDEF for which his utilization for the month of Jan is 1 then if he is being assigned another project his utilization for the month can be only 0 , as he is already assigned 1 for month of Jan for project ABCD.

so while the user is entering the number and moves on to the next input , the app should check for all the lines for that particular employee in the collection and calculate the total and if the sum is equal to 1 then only 0 can be entered but if it is less than 1 then the user can only enter the 1 - total number.
i hope it makes sense , i know it can be a little confusing if you need more help do tell me , but it is a really necessary requirement and would appreciate if someone could help me out in this.
Thanks in advance guys.