I have a large table view with calendar events in it, sorted by date, that is dispalyed in a modal window that pops up.
Is it possible to open the table view halfway down the list, displaying the event nearest to today's date (say for instance the events range from 1 January to 31 December) at the top of the screen (the table would be scrolled down to this point automatically)?
This functionality is much like the list view in Apple's iOS Calendar app.
1 Answer
Simply use the scrollToIndex function. This will scroll to the specified index. (ex. row 18 for the 18th day of the year)
Your Answer
Think you can help? Login to answer this question!