Monday, 15 February 2010

jquery jqgrid unformatter for SEARCH filter -


In my column this column is called Time, which is local time in yyyy-mm-dd hh: mm: ss Shows AM / PM format. This is done by the formatter function. It is stored in the UTC format in the database. So obviously I need a conversion back. It seems that the inefficient option does not work for search filters. Any idea to call my conversion function when killing the FIND button? Thanks a lot.

This is not an ideal solution, but you can do infrastructure on server-side. You can use Javascript to set the client's time zone for UTC back conversion. Here's an example of a quick search, if you decide to go down this route then there are probably other people:

< / Html>

No comments:

Post a Comment