-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
OEMOEM customerOEM customerbugSomething isn't workingSomething isn't workingforumIssues from forumIssues from forumhigh-priorityUrgent to have fixedUrgent to have fixedlarge-accountReported by large customerReported by large customerpremiumresolvedFixed but not yet released (available in the nightly builds)Fixed but not yet released (available in the nightly builds)
Milestone
Description
- Go to https://bryntum.com/products/schedulerpro/examples/infinite-scroll-crudmanager/
- Add a maxDate after the visibleDate (like
maxDate: new Date(2024, 3, 5, 0),) - Expected: The max date is respected when scrolling (as it says on the docs)
- Current behavior: An error is triggered
Invalid start/end dates. Start date must be less than end date..
"Hi, when i try to set a visibleDate and maxDate in the past i get the following error: "Invalid start/end dates..."
I use your online basic example here: https://bryntum.com/products/schedulerpro/examples-scheduler/basic/
with the following config i get an error:
const scheduler = new Scheduler({
appendTo : 'container',
resources,
events,
visibleDate: new Date(2024, 3, 1, 0),
// startDate : new Date(2017, 0, 1, 19),
// endDate : new Date(2017, 0, 1, 20),
maxDate: new Date(2024, 3, 5, 0),
viewPreset : 'hourAndDay',
rowHeight : 50,
barMargin : 5,
multiEventSelect : true,
columns : [
{ text : 'Name', field : 'name', width : 130 }
]
});
But with this config, with dates in the future its not producing an error:
const scheduler = new Scheduler({
appendTo : 'container',
resources,
events,
visibleDate: new Date(2025, 3, 1, 0),
// startDate : new Date(2017, 0, 1, 19),
// endDate : new Date(2017, 0, 1, 20),
maxDate: new Date(2025, 3, 5, 0),
viewPreset : 'hourAndDay',
rowHeight : 50,
barMargin : 5,
multiEventSelect : true,
columns : [
{ text : 'Name', field : 'name', width : 130 }
]
});
"
What is the reason for this?
Metadata
Metadata
Assignees
Labels
OEMOEM customerOEM customerbugSomething isn't workingSomething isn't workingforumIssues from forumIssues from forumhigh-priorityUrgent to have fixedUrgent to have fixedlarge-accountReported by large customerReported by large customerpremiumresolvedFixed but not yet released (available in the nightly builds)Fixed but not yet released (available in the nightly builds)