How to apply date format in Flex grid in Wijmo 5?

Posted by: ramu on 17 November 2017, 10:00 am EST

    • Post Options:
    • Link

    Posted 17 November 2017, 10:00 am EST

    Hi,

    I have used Wijmo 5.20171.282 version.

    <wj-flex-grid-column [header]="'Eligibility Start Date'" [binding]="'CurrentEligibilityPeriodFrom'" [width]="180" [format]="'dd-MM'">
    

    My REST API model object like,

     public DateTime CurrentEligibilityPeriodFrom { get; set; }
    

    But In UI displayed like at below. Even same as clicked “Filter” icon in grid header.

    Thanks,

    Ramu

  • Posted 20 November 2017, 6:10 am EST

    Hi Ramu,

    The date return from your API is in string format, you need to parse the date in date format. This issue has been discussed in the forum at following URL , please refer for more information:

    https://www.grapecity.com/en/forums/wijmo/wijmo-5-flexgrid-column-fo_1#wijmoarchivehello-allthe-f

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels