Author Topic: Range Filter MVC  (Read 1681 times)

youngfitz

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 26
    • View Profile
Range Filter MVC
« on: October 30, 2018, 04:19:47 pm »
Hi,

The range filter does not work as per the MVC examples in your demos. In the example code, you have the value as a string but when a range is passed, its an array.

   struct Filter
    {
        public String dataIndx;
        public String condition;
        public String value;
    }

Do you have a working example of this for MVC so I know the correct way to implement this?

Thanks



paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: Range Filter MVC
« Reply #1 on: October 30, 2018, 09:58:52 pm »
Thanks for pointing that out.

C# code has been updated for range condition ( taken from live example ) in this example.

https://paramquery.com/pro/demos/filter_header