tableView category type object inside scrollView possible?

Using the tableView widget allows you to set a category, which essentially is an object that remains static throughout the view until another category takes its place…

Is this something that’s possible to do inside a scrollView?

I believe you can put a tableView inside a scrollView.  While you are scrolling the tableView’s rows, your scrollView isn’t going to scroll.

Rob

Thanks for the reply Rob, but the reason I asked this is because the performance i get from using scrollView vs tableView is so dramatic i am forced to use scrollView (i am building a newsfeed)… However the tableView has a category feature that I would like to incorporate into my scrollView, is it possible to strip that part out of the tableView and merge it with the scrollView widget library?

I believe the reason why tableView is performing so horrid is because its trying to load/unload so many objects/events while you scroll down… and if you scroll down fast, it gets ugly real fast. (which does not happen at all in scrollView)

btw, is it possible to turn off tableView load/unload/lazy loading?

I’ll answer the 2nd question first, if you mean the fact that we get rid of rows that are off screen and render them when they come on screen, then no, I’m not aware of a way to do that. 

If you want categories and row like support for scrollView, you’re basically asking for tableView.  I would suggest that if you need a feature like changing the number of rows kept around or turning that off, that you consider using the open source version of the widget library and build that change.

Rob

I agree with Rob, tableView is great for what its designed for but I also agree with you in that the performance drop is a big issue. This degradation occurred post G2 and is yet to be addressed. A number of forum posts talk about this specific issue. So I think an alternative question that can be asked is when can we have the tableView performance issues addressed? As the saying goes… You break it you fix it! :slight_smile:

I believe you can put a tableView inside a scrollView.  While you are scrolling the tableView’s rows, your scrollView isn’t going to scroll.

Rob

Thanks for the reply Rob, but the reason I asked this is because the performance i get from using scrollView vs tableView is so dramatic i am forced to use scrollView (i am building a newsfeed)… However the tableView has a category feature that I would like to incorporate into my scrollView, is it possible to strip that part out of the tableView and merge it with the scrollView widget library?

I believe the reason why tableView is performing so horrid is because its trying to load/unload so many objects/events while you scroll down… and if you scroll down fast, it gets ugly real fast. (which does not happen at all in scrollView)

btw, is it possible to turn off tableView load/unload/lazy loading?

I’ll answer the 2nd question first, if you mean the fact that we get rid of rows that are off screen and render them when they come on screen, then no, I’m not aware of a way to do that. 

If you want categories and row like support for scrollView, you’re basically asking for tableView.  I would suggest that if you need a feature like changing the number of rows kept around or turning that off, that you consider using the open source version of the widget library and build that change.

Rob

I agree with Rob, tableView is great for what its designed for but I also agree with you in that the performance drop is a big issue. This degradation occurred post G2 and is yet to be addressed. A number of forum posts talk about this specific issue. So I think an alternative question that can be asked is when can we have the tableView performance issues addressed? As the saying goes… You break it you fix it! :slight_smile: