Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
date column and spinner as time editor doesn't work proberly
posted

Hallo,

we use a grid with a date column set as time editor with spinner. ((editorType "date", buttonTyp "spin" enableUTCDates true, format "time"))

The initial cell value is null. After editcellstarted, we can enter a time ("__:__") or use the spinner to set a time value. if we leave the cell, no time/date value gets returned to editCellEnded. 

We found an issue in infragistics.lob. line 15155, function _parseDateFromMaskedValue.

There new Date(Date.UTC()) is used. Date.UTC() expects an formated string or date-split parameters. Calling Date.UTC() results in an Invalid Date and nothing gets returned to the editCellEnded event.

our temp fix:

if (this.options.enableUTCDates) {
var now = new Date;

extractedDate = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate(),
now.getUTCHours(), now.getUTCMinutes(), 0,0));
} else {
extractedDate = new Date();
}

please have a look at this issue.

15.2.20152.2081


http://jsfiddle.net/uU7FH/355/

Parents
  • 15320
    Offline posted

    Hello Martin,

    I have investigated your issue, and I have asked our engineering staff to examine this further.  To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 213961 .

    I've opened a private case for you with number: CAS-169699-N3Y0D2 and have linked the development issue to it so that you'll be notified once the issue has been resolved.

    You can find the case by going to your account on our web site and then to the "Support activity" tab.

    You can view the status of the development issue connected to that case by selecting the "Development Issues" tab when viewing this case. 

    Please let me know if you need more information.

    Regards,

    Tsanna

Reply Children
No Data