Is it possible to achieve vertical scrolling in a ListView using HTML/JS for Windows 8 applications with WinJS?
I successfully created a Windows 8 app with XAML/C# that utilizes a ListView for vertical scrolling.
However, when attempting to replicate the app using HTML/JS, I encountered difficulty creating a ListView that scrolls vertically. Instead of vertical scrolling, the ListItems were displayed on a horizontal line and scrolled horizontally.
I initially believed that GridView was suitable for horizontal scrolling lists and ListView for vertical scrolling.
As an alternative solution, I tried placing the ListView inside a div element with vertical overflow scrolling by using the following code:
<div style="overflow-y:scroll;">
// ListView
</div>