Author Topic: pqgrid - Screen/Page is reloading on click of grid header filter icon  (Read 283 times)

mflouty

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 9
    • View Profile
Hi Team,

I am using pqgrid 9.0.2 with angular 14.3. I need your help on below points:-

1. Screen/Page is reloading on click on Filter icon on grid header menu icon.

menuIcon: true,
menuUI:{
  tabs: ['filter'], //display only filter tab.
},


2. Row grouping in only doing grouping of current page, how can I group rows on all pages (entire data)?

3. How to remove Filter options which are not required?

4. How to refresh (remove filtering, sorting, grouping) the grid?

I have attached the grid options configuration in the attached file.

Thanks


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: pqgrid - Screen/Page is reloading on click of grid header filter icon
« Reply #1 on: October 28, 2023, 11:18:18 am »
3. Please use column.filter.conditionList and column.filter.conditionExclude properties.

https://paramquery.com/pro/api#option-column-filter

4. Please use reset method: https://paramquery.com/pro/api#method-reset

1. I don't see anything in your code which could cause screen reload. It might be helpful to find the cause if you can please share a stackblitz.

2. Row grouping is applied to current page data only. You might need to remove paging to apply row grouping to entire data.