I have a Titanium Page, where I am using ScrollView and TableVIew both. But running into a problem -
My ScrollView Portion is about half the page, and I have set Tableview below to it, and when I scroll on Scrollview nothing scrolls up (as it is only half the screen), but when I scroll the TableView, then only tableview gets scrolled and that too in that below portion only. And the above (scrollview portion remains static in its position)
My code is:
<Alloy>
<Window id="main_window" title="Profile" navTintColor="white" backgroundColor="white" barImage="/images/NavBackground.png" orientationModes="Titanium.UI.PORTRAIT">
<ScrollView id="scrollable_view" scrollType="vertical" top="0dp" height="89%" contentWidth="100%">
</ScrollView>
<TableView id='list_rows' top="auto" height="100%" separatorColor="#CCCCCC" >
</TableView>
</Window>
</Alloy>
I have also tried inserting the TableView in Scrollview and setting-up top parameter of tableview to auto and 400dp (in my case).