jQuery UI Widgets Forums Grid Date Forrmat inverted

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 9 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Date Forrmat inverted #71719

    Hi,

    The dates rendered in the jqxgrid are inverted.
    For example my json return 28/05/2015 but the grid show 5/28/2015.

    Please help.

    Thanks,

    Michael

    Date Forrmat inverted #71721

    Peter Stoev
    Keymaster

    Hi Michael,

    I guess you did not set the “format” of your data field as shown in the Data Sources help topic.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Date Forrmat inverted #71722

    I Did.
    i set the cellsformat to “d”

    [{“text”:”A”,”datafield”:”DocIcon”,”filtertype”:”textbox”,”threestatecheckbox”:false},{“text”:”B”,”datafield”:”LinkFilename”,”filtertype”:”textbox”,”width”:”20%”,”threestatecheckbox”:false},{“text”:”Modified”,”datafield”:”Modified”,”filtertype”:”date”,”cellsformat”:”d”,”width”:”10%”,”threestatecheckbox”:false},
    {“text”:”Modified by”,”datafield”:”Editor”,”filtertype”:”textbox”,”width”:”20%”,”threestatecheckbox”:false},
    {“text”:”ExpDate”,”datafield”:”ExpDate”,”filtertype”:”date”,”cellsformat”:”d”,”width”:”10%”,”threestatecheckbox”:false}];

    Date Forrmat inverted #71729

    Peter Stoev
    Keymaster

    Hi Michael,

    I did not wrote “cellsformat”. I wrote “format” which is a property of a datefield defined in the source object. I suggest you to look at the help topic which I wrote you about.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.