I want to pick the week of the year and the number of weeks is displayed on the side like the picture.Do you support this way? If there is no such control now, can you add it after we buy the authorization?
Support Forum
We do not have a date range picker, but it's on our roadmap so for sure it's coming. You can track (upvote) this ticket to stay up to date: https://github.com/bryntum/support/issues/1888
There's a config show show the week number in a DatePicker: https://www.bryntum.com/docs/scheduler/api/Core/widget/DatePicker#config-showWeekColumn
So you could configure your DateField with
picker : {
showWeekColumn : true,
onPaint({ firstPaint }) {
if (firstPaint) {
EventHelper.on({
element : this.element,
delegate : '.b-week-number-cell',
click(e) {
alert(`clicked week ${e.target.parentNode.dataset.week}`); //<- you decide what to do here
}
});
};
}
}
We should probably add a weekClick
event which fires when the week column is shown and it's clicked on.