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
420
Date...ui.Value
posted

I have a grid with a date column. I use the rowEditDialog. When the dialog closes, I get the values and save them to the database.

I use ui.Value[].

Instead of getting a date. I get some strange string.

Here is the code.

{
columnKey: "MyDate",
visible: true,
readOnly: false,
required: true,
editorType: "datepicker",
validation: false,
editorOptions: {
    dateDisplayFormat: "date"
    },
}

The ui.Value["MyDate"] is

Mon Mar 14 2005 00:00:00 GMT-0500 (Eastern Standard Time) {}

That is the correct date but why is not coming back as '3/14/2005'