move Resource into view area (focus, scroll to)

Ask for help relating to our Sencha Touch based Scheduler (for iPad, or any other supported phone, phablet or tablet)
Post Reply
User avatar
chri5tian
Posts: 9
Joined: Fri Oct 09, 2015 3:22 pm

move Resource into view area (focus, scroll to)

Post by chri5tian »

We have 50+ resources in our Touch Scheduler. How can I focus (scroll to) a certain resource by its resourceId in code. Say, I’m one of the 50 resources and after initializing the scheduler, I want to see my name in the resource column without scrolling to it manually. Having it on top would be preferable. An example would be appreciated.

User avatar
Maxim Gorkovsky
Core Developer
Core Developer
Posts: 3287
Joined: Wed Jan 08, 2014 11:46 am

Re: move Resource into view area (focus, scroll to)

Post by Maxim Gorkovsky »

Hello.
This is not supported by default. You'll have to implement this yourself. Take a look at scrollVerticallyTo and getRow methods.

Post Reply