Does anyone know. If there are any recommendations for editing / adding data in the user interface table when filtering its data?
Example 1:
Suppose we have a table with two options: add a new record and edit the selected one. In addition, the table has the ability to filter data by column A.
Now, if the table is filtered by filtering column A with a value of '1', and I want to add a new record with a value in column A that matches the filter's requirements, what should happen:
- The table should update and display the filtered records with the selected new record added.
- The table should have a reset filter and show all the records that have chosen a new one.
- The table should not do anything and display the filtered records as they were. The added record will be displayed when the filter is reset.
For me, intuitively the best solution is number 1. But then how to solve the problem in example number 2:
Example 2:
If the table is filtered by filtering column A with a value of "1" and I want to add a new record that has a value of 2 in column A, what should happen:
- The table should display the filtered records with the selected new record added, although it does not match the filter.
- The table should have a reset filter, and all records should be displayed with the new one selected.
- The table should not do anything and display the filtered records as is.
The same thing happens when we filter records, and in the selected record we want to change the value on which the filtering was performed. Should an edited record than disapear or filterre, reset?
Or maybe the best way to disable add / edit operations during filtering?
source share