How to create date filtering in ASP.NET Core MVC using Razor with grid.js grid? The scenario is: render grid.js grid. But will create a date controls with button. When button clicked, it should update the grid data based from the date input.
Uses grid.js Grid render on div, create 2 input type date with for the from and to value and 1 button that should trigger grid update. I'm expecting that after button clicked it should update the grid.js.Grid table based from the date. How to update grid.js data?
Here is a whole working demo you could follow:
Model
View(Index.cshtml)
Controller