'Workday Extend format option for cellTemplate type="date"
I am implementing a grid in a Workday Extend worklet.
The code for the date column looks like this:
{
"type": "column",
"columnId": "c3",
"label": "Start Date",
"sortableAndFilterable": "true",
"cellTemplate": {
"type": "date",
"value": "<% grdRow.startDate %>"
}
},
It was "type":"text". Now I would like to make it "type":"date" The grdRow.startDate is a date type.
I also want to format the date in a format of "DD-MMM-YYYY". I cannot find something in the Workday documentation about an option to format a date column.
Do I really need to format it my self in the underlying report and view as text?
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|