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 chip disappears when filter a column from column-group through API #2926

Closed
tachojelev opened this issue Nov 5, 2018 · 1 comment
Assignees
Labels
🐛 bug Any issue that describes a bug 🧨 severity: medium grid: filter-ui grid: general grid: tree-grid version: 6.2.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@tachojelev
Copy link
Contributor

tachojelev commented Nov 5, 2018

Description

Filtering chip disappears when filter a column from column-group through API

  • igniteui-angular version: 6.2.x
  • browser: any

NOTES:

  • The issue is reproduced for both the IgxGrid and the IgxTreeGrid.
  • The issue is reproduced ONLY when filtering is performed on a column that is in a column-group!
  • After step 4, if another filter chip is opened and closed, the view gets refreshed and the issue is fixed.

Steps to reproduce

  1. Open the grid-column-groups.sample.html dev demo template and add a filter button in markup:
...
<button (click)="test()">filter</button>
  1. Add the following handler in grid-column-groups.sample.ts:
  test() {
        this.grid.filter('ContactName', 'anna', IgxStringFilteringOperand.instance().condition('contains'));
    }
  1. Run the "Grid Column Groups" dev demo.
  2. Observe the "Contact Name" column's filter chip and click the filter button.

Result

The chip disappeared.

Expected result

The chip is still present and properly updated with the filtering condition from the API.

Attachments

filter

@sstoyanovIG sstoyanovIG added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Nov 6, 2018
@sstoyanovIG sstoyanovIG assigned SAndreeva and unassigned sstoyanovIG Nov 6, 2018
@sstoyanovIG sstoyanovIG added 🆕 status: new and removed 🛠️ status: in-development Issues and PRs with active development on them labels Nov 6, 2018
@SAndreeva SAndreeva added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Nov 7, 2018
@norikois
Copy link

norikois commented Nov 9, 2018

Hello,
This issue also occurs when a column in a column-group is filtered from UI.
I attached a sample.
Could you cover this scenario by this issue, too?

Steps to reproduce:

  1. npm install, npm start and open http://localhost:4200.
  2. Click the filter icon of "Name" field and filter by any text, for example "a".
  3. Click "Close" button.

Actual:
The filter chip of "Name" field is not displayed.

Expected:
The filter chip of "Name" field is displayed.

Sample:
my-app1.zip

@SAndreeva SAndreeva added ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. and removed 🛠️ status: in-development Issues and PRs with active development on them labels Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Any issue that describes a bug 🧨 severity: medium grid: filter-ui grid: general grid: tree-grid version: 6.2.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
Development

No branches or pull requests

5 participants