Skip to content

gridApi.grid.refresh() no longer triggers custom filter function (after v3.1.1) #5551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 tasks done
bowen-cheng opened this issue Jul 14, 2016 · 0 comments
Closed
5 tasks done

Comments

@bowen-cheng
Copy link

bowen-cheng commented Jul 14, 2016

After upgrading from v3.1.1 to v3.2.1, when I call gridApi.grid.refresh() function to refresh the grid, the custom filter function (declared under columnDefs) is ignored.

By doing some experiments, I realize that the custom filter function is only triggered in v3.2.1 if we manually put text in the filter box.

This Plunker demonstrates the issue.

In this Plunker, the filter term is changed by clicking on the toggle button. The button also triggers refresh() function, this originally would cause the grid to re-evaluate custom filter function. Now it has lost its functionality.

  • This is a bug report, not a question on how to use the grid.
  • You have searched the open issues to see if this bug has been filed before. We don't want duplicate issues.
  • You have reviewed the tutorials and documentation to ensure you are using the grid correctly. ui-grid.info
  • You are using the latest version of the grid. Older versions are not patched or supported.
  • You have provided steps to recreate your bug. A plunker is even better.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant