joeharrison714 / MVCGrid.Net

http://mvcgrid.net
MIT License
74 stars 55 forks source link

Not able to filter Dynamically and range. #206

Open sridharvadla opened 3 years ago

sridharvadla commented 3 years ago

Here is the Steps I have taken. I have follow exactly the same way.

  1. Adding new Grid in MVCGridConfig.cs
  2. Calling this grid in my view using @Html.MVCGrid("GrdParcel")
  3. I have tried both SetFilters option and SetAdditionalQueryOptions. I could not able to achive what I want. I am getting following error. script.js:302 Uncaught TypeError: Cannot read property 'qsPrefix' of undefined at String. (script.js:302) at Function.each (jquery-3.5.1.js:387) at Object.setFilters (script.js:301) at HTMLButtonElement. (Index:221) at HTMLButtonElement.dispatch (jquery-3.5.1.js:5429) at HTMLButtonElement.elemData.handle (jquery-3.5.1.js:5233)

I am currently using following Versions of softwares.

  1. Visual Studio 2019
  2. JQuery : Jquery-3.5.1
  3. Bootstrap : 3.0 Please need help and guidance with code example on dynamic filtering data on the grid. Filters are set out side the grid, I mean created text boxes for different values to accept based on user requirement. I look forward for the help ASAP, as my project is on hold status. Please help me. Thanking you in Advance. Sridhar Vadlamani