jQWidgets Forums
jQuery UI Widgets › Forums › Angular › different scroll for different views
Tagged: jqxScheduler;UI:scroll;
This topic contains 5 replies, has 2 voices, and was last updated by Hristo 5 years, 7 months ago.
-
Author
-
Hi,
I have used “scrollTop” method. The compiler in stackblitz example is showing errors.
Is this the correct way to use this.scheduler.scrollTop() method?Please refer to the stackblitz example
https://github-vqoccp.stackblitz.ioThanks and Regards,
ShiviHello Shivi,
I tested this example and it seems to work fine.
I look forward to hearing from you.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi Hristo,
Thank you for response.Now here for my view,i have used the “timelineDay” and “weekView”.
And i have set the scroll value for the weekView but when i tried to set scroll value for both weekView and timelineDay it is not reading the value of timelineDay.
can you help me that.i want to achieve is, for “timelineDay” the Scheduler should display from the 9am and
same as for “weekView” Scheduler should display from the 9am.here is the example
https://stackblitz.com/edit/github-hvudub-jzcefuThanks and Regards,
ShiviHello Shivi,
You could use the
ensureAppointmentVisible
method if you have an appointment on this position.
Otherwise, you will have to set to the wanted position withscrollTop
method for the up/down position.
For the right/left position, you should use thescrollLeft
method of the jqxScheduler.
The last method will be useful when you switch to the “timelineDayView” option.
Please, take a look at this example:
https://stackblitz.com/edit/github-hvudub-jgsuxbBest Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi Hristo,
Thanks for your help.Here i tried to use height properties for views and i achieved the height for different views,
but i lost the scroll effects on weekView.so, my finding is that if i give height then the scroll is not working.
can you look into the following stackblitz example
https://stackblitz.com/edit/github-hvudub-38s3xlThanks and Regards,
ShiviHello Shivi,
Thank you for the feedback.
I will create a work item for this case.
Meanwhile, you could try to add the jqxScheduler with a size “100%” value inside one container and change its size.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.