Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*Datatable* - _(Apex-Defined)_ - Wired display on Updated Rows does not work properly #1565

Open
fprovot opened this issue Jul 23, 2024 · 1 comment

Comments

@fprovot
Copy link

fprovot commented Jul 23, 2024

Datatable v4.3.0

Steps to reproduce

Steps to reproduce the behavior:

  1. Create a datatable with apex defined content, with selectable rows, editable rows as well as deletable rows options, with pagination.
  2. Create another datatable with apex defined content, source data is the outputEditedRowsString (User Defined) property of the previous table.
  3. Update some values of the table
    => the second datatable does not show changes
  4. Delete one row
    => the second datatable does show the changes!

Expected behaviour

The second table display changes as soon as the save button is pressed.

Actual behaviour

The second table display changes only when deleting a row on the first table.

Other insights

If we add datatables to display "selected" and "removed" rows, they are instantly updated. And if we select a row where an update is done, the updated is displayed in the "selected rows" table, but still not in the "updated rows" table. Untill a row deletion is done.

@fprovot
Copy link
Author

fprovot commented Jul 23, 2024

In Green the changes on first table that are reflected. Only after a row removal on the "updated rows" table.
In Yellow the changes on first table that are not reflected on "updated rows" table. They will be after a row removal.

datatable_wired_reflexions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants