Author Topic: Increase custom filtering flexibility  (Read 2609 times)

cverond

  • Newbie
  • *
  • Posts: 1
    • View Profile
Increase custom filtering flexibility
« on: March 19, 2017, 02:13:07 am »
Hi Team,
I'm impressed from the work you did in pqGrid!

I'm currently evaluating the grid, so maybe will make a suggestion or two :)

The first is, in order to increase filter flexibility when using 'condition' option of 'filter', being 'condition' a function.

As per documentation, this function receive both the filter value and row's column value in order to verify filter match.

It would be nice if the same function could receive also the full row (as an index or the full data) as some other functions receive (eg. renderer).

In this way you can build filters with better granularity (eg. include rows even if they don't match filter condition).

Thanks for your consideration.

- Cris

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6156
    • View Profile
Re: Increase custom filtering flexibility
« Reply #1 on: March 20, 2017, 05:04:47 pm »
Thanks for your suggestion. I've marked it for future enhancement.

Regards
Paramvir