Skip to content
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

Filtering rows not shown when using along with ui-grid-selection #4891

Closed
benoror opened this issue Dec 21, 2015 · 3 comments
Closed

Filtering rows not shown when using along with ui-grid-selection #4891

benoror opened this issue Dec 21, 2015 · 3 comments

Comments

@benoror
Copy link
Contributor

benoror commented Dec 21, 2015

I'm using the example from the tutorial regarding filtering (103_filtering) to toggle filters with some modifications:

  • Setting configuration asynchronously, after initializing the grid
  • Using in combination with ui-grid-selection

Apparently using ui-grid-selection causes the filtering rows to be rendered in the DOM, but not shown, see screenshot:

gridsel

Here's the failing example:

http://plnkr.co/edit/aDCBgK4KOoIUsB7II6jL?p=preview

*Note: To make it work try removing 'ui-grid-selection' attribute from div#grid1

Any hint would be greatly appreciated 😄

@swalters
Copy link
Contributor

We are trying to clean up issues. If this is still an open question for you, please post to Stack Overflow or Gitter. Issues are for bug reports only. Thanks.

@benoror
Copy link
Contributor Author

benoror commented Jan 26, 2016

This is still an issue, I updated the failing example for more clarity of the problem:

http://plnkr.co/edit/b4IXz5EaWgRvI3VaKDHn?p=preview

@julincesar
Copy link

@benoror, I had the same problem and I figured out a workaround: just initialize columnDefs into gridOptions and the filter fields will show up. Take a look at this plunker with a simple example showing both situations: Plunker example.

@swalters, please take a look at the plunker above and you will have a clear and simple example on how to reproduce the error. Maybe the solution would be initialize columnDefs with an empty json array if nothing is declared in gridOptions by the developer.

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

3 participants