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
33.83k stars 3.65k forks source link

[Bug]: Table inline editing behavior when filter is applied to table data #16584

Open chandannkumar opened 2 years ago

chandannkumar commented 2 years ago

Is there an existing issue for this?

Description

While editing Table row when filter is applied to table data is currently not possible since filter is updating the results without validating or saving the updated(edited) value on Table data.

https://www.loom.com/share/335d0c61817646a0903d581adf73064e

Steps To Reproduce

  1. Drag & Drop Table widget
  2. Enable Editable option for a column
  3. Filter the data with some condition
  4. Now try to edit the row
  5. Observe that, without saving the editable row the filter results get updated and there is no option to Save/Discard the changes until filter is cleared

Public Sample App

No response

Version

Cloud/Production

Front logo Front conversations

rxunique commented 8 months ago

+1

run into the same problem, seems only workaround currently is to manually re-write the filter logic and UI, which feels like reinventing a massive wheel.

a relative easier fix it to make filter & search box point to rawData or selected data source. This currently is not possible

Use case example:

A table with 3 status, Good, Bad, Unknown. You want to go through all the Unknown and change them, trivial to either use filter or search to filter out all the Unknown.

Now if you edit the status, the row disappears, and you can't use inline Save