Hi,
How can I remove time from my startDate and endDate I see that bryntum by set displayDateFormat to 'DD/MM/YYYY' but do we have any other options?
Yes. Sure.
You could use DateHelper.format()
in the template to achieve that
Please check docs
https://bryntum.com/products/gantt/docs/api/Core/helper/DateHelper#function-format-static
DateHelper.format(new Date(), 'YYYY-MM-DD')
Sure,
Here is an example of how you could use it in your custom eventTooltip
features : {
eventTooltip : {
template : data => {
return `
<div>
<p>Start Date : <strong>${DateHelper.format(data.startDate, 'YYYY/MM/DD')}</strong></p>
<p>End Date : <strong>${DateHelper.format(data.endDate, 'YYYY-MM-DD')}</strong></p>
</div>
`;
}
}
}
And here is the output
Please check these docs' link
https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventTooltip
https://bryntum.com/products/scheduler/docs/api/Core/helper/DateHelper
We have a private class called ClockTemplate
to show those clock icons. Opened a feature request to make it public. Here it is https://github.com/bryntum/support/issues/6167
Hi,
No updates for now. It's not on the list of the nearest release so can't say when it will be available. If you need this feature urgently, then you could increase the priority of the ticket by sponsoring it.
You could contact our sales here https://bryntum.com/services/ for a feature sponsorship.
All the best