Workflow Dashboard

A compound DataGrid with a contextual slide-over edit form demonstrating strict local-vs-global state isolation, mock API delays, and error handling.

Click a row, edit the form, and observe that changes only propagate to the grid on a successful save. Use the error checkbox to test failure paths.

How to test this demo

The data grid shows a mock commercial banking task list. Try this sequence:

  1. Click any row to open the contextual edit form in a modal.
  2. Modify the Client Name, Amount, or Status fields.
    Notice the data grid behind does not update — the form state is fully isolated.
  3. Click "Save Changes" to trigger the mock API call. Watch the loading spinner and disabled button state during the 1.5s artificial delay.
  4. After the mock response succeeds, the modal closes and the grid updates with your new values.
  5. Error test:Open a row, tick the "Simulate API Error" checkbox, then save. The error is caught and displayed inside the modal without affecting the parent grid.
  6. Cancel test:Edit a row, make changes, then click "Cancel". All draft changes are discarded and the grid remains unmodified.

Commercial Tasks

Total: 4
IDClient NameAmount (USD)StatusLast UpdatedActions
TXN-001Acme Corp$1,500,000Pending2026-02-21
TXN-002Globex Inc$850,000In Progress2026-02-20
TXN-003Initech$3,200,000Under Review2026-02-19
TXN-004Soylent Corp$45,000Completed2026-02-18