Author Topic: 2 filter conditions with remote filtering  (Read 2159 times)

queensgambit9

  • Pro Ultimate
  • Sr. Member
  • *
  • Posts: 341
    • View Profile
2 filter conditions with remote filtering
« on: August 16, 2018, 07:21:03 pm »
Does 2 filter conditions / column works with remote filtering?
Only seem to take first condition...?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: 2 filter conditions with remote filtering
« Reply #1 on: August 17, 2018, 05:22:40 pm »
Remote filtering is limited to one condition only.

2 filter condition would be enabled once the remote scripts are updated to handle them.

queensgambit9

  • Pro Ultimate
  • Sr. Member
  • *
  • Posts: 341
    • View Profile
Re: 2 filter conditions with remote filtering
« Reply #2 on: October 25, 2018, 08:22:27 pm »
Any update on when the remote scripts will be updated to handle 2 filter conditions?

Also when you change condition to range...how can I populate it from db?

I do it currently in the create callback of grid (so its populated on page load).

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: 2 filter conditions with remote filtering
« Reply #3 on: October 26, 2018, 06:14:18 pm »
1. It would be added in next release: ETA: 15 Nov.

2. That's fine for now as long as options are loaded before opening range filter dropdown.

I'm trying to find a better way with filter.gridOptions, would let you know once ready.
Code: [Select]
              gridOptions:{
                    dataModel:{
                        location:'remote',
                        url: 'options.php'
                    }