I have a datagrid with 5 columns: date, work detail, work hours, pto detail, pto hours.
when opened it looks at the date and creates a datagrid for every day of the month.
work day automatically get 8 hrs, and weekends get 0 hrs.
work details is a drop down box: here, out office and weekend.
If I change the work details to: out of office for a particular day, I want the hrs to go to 0 and the PTO hours to go to 8.
If the person chooses non-paid from the PTO detail dropdown PTO hours should also go to zero.
I do not see an event that will be called when something changes on the grid.
Is there a way of doing this without having a commit changes button on the form?