Support for Filtering and Sorting on Editable DataTable #1273
Labels
Type: Breaking Change
Issue contains a breaking change related to a specific component
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
If you have a PrimeVue PRO Support subscription please post your issue at;
https://pro.primefaces.org
where our team will respond within 1 business hour.
If you do not have a PrimeVue PRO Support subscription, fill-in the report below. Please note that
your issue will be added to the waiting list of community issues and will be reviewed on a first-come first-serve basis, as a result, the support team is unable to guarantee a specific schedule on when it will be reviewed. Thank you for your understanding.
Current Queue Time for Review
Without PRO Support: ~1-4 weeks.
With PRO Support: 1 hour
I'm submitting a ... (check one with "x")
CodeSandbox Case (Bug Reports)
Please demonstrate your case at CodeSandbox by using the issue template below. Issues without a test case have much less possibility to be reviewed in detail and assisted.
Current behavior
Design a datatable to support both:
After filtering, clicking on a cell to edit, will cause the filtering to be removed, showing all of the tables rows. Subsequent attempts to filter no longer behave as expected - rows are not filtered out even though the filtering UI responds as expected.
Expected behavior
Existing filtered rows options are expected to remain filtered out when clicking on a cell to edit
Minimal reproduction of the problem with instructions
https://codesandbox.io/s/zealous-paper-ecru3
The 'color' column has a multiselect dropdown for filtering enabled.
The 'year' column has in-place cell editing enabled.
Open the above codesandbox link in a new page (i.e. https://ecru3.csb.app/)
Filter by any color by choosing a color in the dropdown filter above the color column on the far right.
Rows are filtered as expected by the chosen color.
Click on any year from the year column to invoke the in-place cell editing.
Unexpectedly all of the rows appear, causing the InputText editor to jump down to its unfiltered row location.
What is the motivation / use case for changing the behavior?
The current behavior should be considered unexpected, and treated as a bug. The motivation is to correct the defect.
Please tell us about your environment:
Vue version: 3.X
"vue": "^3.0.11"
PrimeVue version: 3.4.X
"primevue": "^3.5.0"
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
I have tried Chrome, Firefox and Edge, all reproduce the issue
The text was updated successfully, but these errors were encountered: