Nativescript Gridview inside ScrollView - height = 0


Hi Guys,
I’m wondering it this is plugns’s issue, but when Gridview is inside od Scrollview, it’s height is 0.
I see no workaround for this, i’ve tried to calculate height of this grid, but this returns 0 always.
Do you have maybe some experience with this ?


You may not need a scroll view, grid view plugin itself should provide scrollable content.


Thanks, but . i have more items than gridview only, there is header, footer navigation etc…


Coming back to first rule, you can’t simply nest scrollable contents. Use a GridLayout to slit your screen for header and footer, let the content be scrollable?


Understood, thanks. It’s now perfectly clear for me.