nh-tu-z / ScaleManagement

Freelance project regarding scale management.
0 stars 0 forks source link

Enhancement: Reload the view after action invoke #8

Closed nh-tu-z closed 1 year ago

nh-tu-z commented 1 year ago

image

Context: As an end user, I want the KhachHang view table reflect immediately after action made.

Acceptance Criteria:

  1. When "Thêm" action is made, the new KhachHang has to add into the table as a new row.
  2. When user choose a existing KhachHang in the table and then make "Sửa" action, the edited KhachHang must be affected in the table immediately.
  3. When user choose a existing KhachHang in the table and then make "Xóa" action, the chosen KhachHang must be disappeared in the table.
nh-tu-z commented 1 year ago

completed in https://github.com/nh-tu-z/ScaleManagement/pull/9. Apply data binding for collection ref https://learn.microsoft.com/en-us/dotnet/desktop/wpf/data/how-to-create-and-bind-to-an-observablecollection?view=netframeworkdesktop-4.8 and samples