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

Firefox ESR, date field not initialized as DatePicker

2 Answers 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 29 Jan 2018, 03:18 PM

When mapping a date file as grid column, it's not being transformed into a DatePicker.
This doesn't happen with Edge, Chrome or the latest Firefox, I'm only experiencing this with the ESR version of Firefox.

Example:  

@(Html.Kendo().Grid<HuntingReportModel>()
        .Name("test")
        .Columns(x => x.Bound(y => y.Date))
    .ToolBar(x => x.Create()))

See attachment for the resulting control...

using jquery ui without the wrappers it works.

manually calling .kendoDatePicker helps but it's really just a bad workaround...

Browser: Firefox ESR (52.5.3 & 52.6.0)

Kendo: 2018.1.117


2 Answers, 1 is accepted

Sort by
0
Andreas
Top achievements
Rank 1
answered on 29 Jan 2018, 04:03 PM

Actually I just realized, that other browsers don't initialize the date as well... it is basically just using the built in datepickers...
Do I have to make a editor template with datepicker, so that the kendo datepicker is used by default?

Thanks!

0
Stefan
Telerik team
answered on 01 Feb 2018, 07:21 AM
Hello, Hermann,

The Kendo UI Grid should automatically use a DatePicket for the date columns editor if the field is set a DateTime in the model.

If you would like to modify the DatePicker default properties we can recommend using an EditorTemplate for that column.

If the issue still occurs on an ESR FireFox, please provide an example reproducing the issue and I will gladly assist further.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Andreas
Top achievements
Rank 1
Answers by
Andreas
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or