Edit item in listview

0
Hi guy, Currently, I am working on a small project on human resource management. I have a page to manage the tasks that the new employee will do. I want each employee to make a list of assigned tasks, and after completion, edit the status of that task. But when I log in as an employee and edit the to-do list status, employee A edits the to-do list status, the to-do list status of employee B also changes. How can when employee A changes his to-do list status, employee B's to-do list status will not change? Please help me, Thanks!
asked
2 answers
0

Can you show us a bit more of your domain model? It sounds like task lists are not currently unique to each employee, so they are all editing the same list. You'll want to make sure that both the TaskItems and Checklist are separate objects for each of them. Alternatively, if the possible taskitems for everyone are the same, you might want to create an entity in between the Taskitems and the Checklist so you can assign them to people. 

 

answered
0

This is my domain model. I am assigning an Employee with a Checklist. Each task Checklist will have many different Taskitem and are taken from the Taskitems table. I tried to create an entity between the Checklist and the Taskitems, which has the Status and Remark properties. But when using listview to display, other properties can be edited, only the status and remark properties are not editable.

answered