Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Selecting specific row under specific section #34

Closed
zishanj opened this issue Aug 14, 2018 · 1 comment
Closed

Selecting specific row under specific section #34

zishanj opened this issue Aug 14, 2018 · 1 comment

Comments

@zishanj
Copy link

zishanj commented Aug 14, 2018

Is there any supporting function that selects specific row under specific section? It should auto scroll to specific section, expand it and then select specific row updating the scroll position.

@okhanokbay
Copy link
Owner

There is no supporting function that does all of these functionalities at the same time, but:

You can auto-scroll to a specific section by using UITableView methods like scrollToRowAtIndexPath.
Then you can expand that section by using ExpyTableView's expand method.
Then you can select any cell in that section by using native selectRowAtIndexPath.

I think, if something can be wrapped up with combination of already-written methods then it's not a good thing to add that functionality to the base of a shared component. So I don't foresee ExpyTableView will have this in future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants