LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

Datatable - Row Selection - Row selection is lost after changing sort order

Open smunkelt opened this issue 1 year ago • 1 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

Steps to reproduce the behavior:

  1. In a data table with row selection enabled, select a subset of the displayed records.
  2. Click a column header to change the sort order of the records
  3. The selected records from step 1 are not selected anymore

Expected behaviour

Initially selected records remain selected

Actual behaviour

Records that were manually selected by the user are not selected anymore after changing the sort order of the data table.

Screenshots

image

Debug Logs

If applicable, please insert debug logs here

Debug Log Information
Paste the output of the logs here.

smunkelt avatar Jul 01 '24 14:07 smunkelt

This issue has been addressed in the latest (v4.3.0) release. https://unofficialsf.com/datatable-lightning-web-component-for-flow-screens-2/

ericrsmith35 avatar Jul 22 '24 18:07 ericrsmith35