2

I've already read all available documentation and I cannot find a solution.

I have a calendar outside of the grid which on click returns a date. All I need to do is filter my jqGrid based on that date. Can someone point me to the correct API method?

Thanks!

Sergey
  • 3,214
  • 5
  • 34
  • 47
  • Revisa este enlace (check this link) http://stackoverflow.com/questions/17179777/search-with-autocomplete-in-codeigniter-and-jqgrid/17195094#17195094 – Rudolph Fentz Jun 19 '13 at 15:40

2 Answers2

1

You could do the filtering server-side. Attach an event to the calendar such that when the date is changed, the grid will be reloaded by data from the server. When you do the reload, pass the date to the server so that it can do filtering based upon that date.

See reload-a-loaded-jqgrid-with-a-diffent-table-data for some pointers on how to reload the grid.

Community
  • 1
  • 1
Justin Ethier
  • 131,333
  • 52
  • 229
  • 284
  • well that's exactly what I want to do but I don't want to reload it with different table data, I want to use exact same json call just pass search parameters, just like built in filter search modal window does – Sergey Dec 18 '09 at 02:12
0

Perhaps my example here will help you:

How to filter the jqGrid data NOT using the built in search/filter box

(I do the same thing, but filter my jqGrid data based on a textbox value, outside of the jqGrid.)

Community
  • 1
  • 1
Mike Gledhill
  • 27,846
  • 7
  • 149
  • 159