- Home
- Forum
- Angular - EJ 2
- How to scroll to selected date in Year/TimelineYear View
How to scroll to selected date in Year/TimelineYear View
Hi,
The TimelineMonth - view seems to work correctly
in a schedule with Year or TimelineYear View the view does seem not scroll to the selected date.
I've also tried to use the scrollTo() method but this does not seem to work either.
I've also tried to use the scrollTo() method but this does not seem to work either.
The TimelineMonth - view seems to work correctly
Please check the following Stackblitz for reproduction:
https://stackblitz.com/edit/angular-7uvdbu?file=app.component.ts
https://stackblitz.com/edit/angular-7uvdbu?file=app.component.ts
- switch to Year or TimelineYear view
- select a date somewhere in december
=> date is not scrolled into view.
SIGN IN To post a reply.
7 Replies
1 reply marked as answer
BS
Balasubramanian Sattanathan
Syncfusion Team
September 30, 2020 01:02 PM UTC
Hi Bernd,
Greetings from Syncfusion Support.
We have validated your requirement “How to scroll to selected date in Year/TimelineYear View” at our side and let you know that currently the scrollTo option is not provided in the timeline year view and we logged this as an improvement at our side and it will include in our weekly patch release which is expected to roll out on October 14, 2020. And regret to let you know that the scrollTo is not feasible in the year view. You can track the status of the issue using the below link.
Regards,
Balasubramanian S
BE
Bernd
October 20, 2020 08:46 AM UTC
Hi - I cannot find the issue anymore, the link you've provided says "No support incidents are associated with your account.".
I also cannot find the issue in the release note.
Could you please tell me the status - is it fixed?
best regards,
Bernd
I also cannot find the issue in the release note.
Could you please tell me the status - is it fixed?
best regards,
Bernd
NR
Nevitha Ravi
Syncfusion Team
October 22, 2020 03:38 AM UTC
Hi Bernd,
Sorry for the inconvenience caused.
We have rescheduled the issue fix to our upcoming patch release scheduled on October 27, 2020. We would appreciate your patience until then.
Regards,
Nevitha
BE
Bernd
November 9, 2020 03:56 PM UTC
Hi,
regarding the release notes and the state of the issue this bug should have been fixed in v18.3.44.
Unfortunately I still can rerpoduce the bug in v18.3.47.
Unfortunately I still can rerpoduce the bug in v18.3.47.
please see the updated Stackblitz here:
https://stackblitz.com/edit/angular-pbhw8r?file=package.json
this new one uses Version 18.3.47 and still shows the buggy behavior:
How to reproduce:
1) start the new Stackblitz in the URL in this comment
2) move the vertical splitter in the StackBlitz so that the right app window is so small that the horizontal scrollbar appears in the scheduler and you only see the half of the month
2) select "Timeline year"
3) select the 25th of November (or the 29th of January) in the Date-Picker below the Scheduler
=> no scrolling to the selected date.
PN
Praveenkumar Narasimhanaidu
Syncfusion Team
November 10, 2020 02:29 PM UTC
Hi Bernd,
Greetings from Syncfusion support..!
We have validated your query at our end and let you know that we can't use the scrollTo method before layout rendering. In navigating event layout not rendered which is the cause for the reported problem. So, we suggest to use dataBound event to achieve your requirement. We have also prepared a sample for your reference which can be viewed from following link.
|
public onDataBound(args) {
console.log("### navigating to: ", this.selectedDate);
this.scheduleObj.scrollTo(null, this.selectedDate);
} |
Kindly try the above solution and get back to us if you need further assistance.
Regards,
Praveenkumar.
Marked as answer
BE
Bernd
November 12, 2020 01:53 PM UTC
Hi Praveenkumar,
thanks, this solved the problem.
best regards,
thanks, this solved the problem.
best regards,
Bernd
NR
Nevitha Ravi
Syncfusion Team
November 13, 2020 04:53 AM UTC
Hi Bernd,
You are most welcome. Please get back to us for further assistance.
Regards,
Nevitha
SIGN IN To post a reply.