robinvanderknaap / MvcJqGrid

Fluent jqGrid Html Helper for ASP.NET MVC
www.playground.webpirates.nl/mvcjqgrid
GNU Lesser General Public License v3.0
101 stars 74 forks source link

_search=false being set on text boxes and datepicker #12

Closed ghost closed 12 years ago

ghost commented 12 years ago

Not sure why it works on Searchtype.Select, but I found this issue on stackoverflow

http://stackoverflow.com/questions/6442004/jqgrid-search-parameter-not-being-set-in-url

in the MvcJqGrid.Grid.cs class on line 1345, postDate._search = true; is seemingly being passed in.

According to that stackoverflow article, search should not be set on the postData, but instead passed into the grid parameters. I myself am not sure how I can set this, but if you could provide me some guidance or issue a fix, that would be great!

Thanks!

ghost commented 12 years ago

I should also note that I am using JQuery 1.8.1 and JQGrid 4.4.1

ghost commented 12 years ago

I just realized that I did not have the column names as one word identifier. Did that and set the label for the column and that was the key issue.