This is a migrated thread and some comments may be shown as answers.

Filtering Dates with KendoUI grid -Querystring missing expected values.

1 Answer 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
WaspDeveloper
Top achievements
Rank 1
WaspDeveloper asked on 01 Dec 2012, 05:32 PM

With the Telerik KendoUI web Grid control, what are the requirements for us to get a value for filtering dates when using serverside filtering?

What we see when we filter on other columns - which is great, as we can easily parse this (strings for example) is:

filter[filters][0][field]

filter[filters][0][operator]

filter[filters][0][value]

filter[logic]

What we see when we filter on date columns is - there is no value to parse out here: (note: the value is missing for this date filter, but it was not missing in the string filter).

filter[filters][0][field]

filter[filters][0][operator]

filter[logic]

Additional information about how we are using the date column in our grid:

Initialized with this column as a date:

field: "LastUpdated", title: "Updated", format: "{0:MM/dd/yyyy}"

Datasource for this grid has this column as a date:

LastUpdated: { type: "date", nullable: true }


Thank you,

Chris

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 04 Dec 2012, 09:55 AM
Hi Chris,

Could you please verify that you are using a newer (1.8.2) version of jQuery. There was an issue with older version (1.7.1) where Date object were not correctly serialized.

All the best,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
WaspDeveloper
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or