appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.15k stars 3.7k forks source link

[Bug]: The onRowSelected event isn't triggered when using select-all #23964

Open ghost opened 1 year ago

ghost commented 1 year ago

Is there an existing issue for this?

Description

When I click to select all in a table that has multi-row selection enabled, the onRowSelected event isn't triggered.

I expect the event to trigger when I select all of the rows. I can process them all at once using Table.selectedRows. It would also be acceptable to introduce a new onSelectAll event.

Steps To Reproduce

  1. Drag a table widget onto the canvas.
  2. Enable multi-row selection for the table.
  3. Set the onRowSelected event to show an alert.
  4. Click the select-all checkbox and observe that an alert is not shown.
  5. Manually select a row with the checkbox and observe that an alert is shown.

Public Sample App

https://app.appsmith.com/app/onrowselected-doesn-t-trigger-when-selecting-all/example-64790afba3d53175a10254ae

Environment

Production

Issue video log

No response

Version

Cloud v1.9.20.4

Front logo Front conversations

clairearondel commented 3 months ago

Same problem for deselected data