Answered by:
How to display a listView of three columns, with vertical scroll bar?

Question
-
Hi,
I want to display a listView of three columns, with vertical scroll bar. I try 'listLayout', but the listView just has one column. I also try 'gridLayout', but the scroll bar of listView is horizontal.
- Edited by Lattimore Wednesday, December 26, 2012 1:30 AM
Wednesday, December 26, 2012 1:29 AM
Answers
-
Hi,
If you want to display three columns. Please set the corresponding height and width as follow:
.win-listview { height: 1000px; width:300px; overflow: hidden; }
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Song Tian Wednesday, January 2, 2013 2:47 AM
Thursday, December 27, 2012 6:29 AM
All replies
-
Hi,
If you want to display three columns. Please set the corresponding height and width as follow:
.win-listview { height: 1000px; width:300px; overflow: hidden; }
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Song Tian Wednesday, January 2, 2013 2:47 AM
Thursday, December 27, 2012 6:29 AM -
Hi, this is not working . still it displaying in a single column.
sandeep chauhan
Sunday, January 6, 2013 7:50 AM -
Hi Sandeep,
Could you post your code here? Because the code above is running normal on my side.
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.Monday, January 7, 2013 2:43 AM -
Hi Sandeep,
Could you post your code here? Because the code above is running normal on my side.
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Hi,
Refer to the sample HTML ListView item templates sample. If I want to display the listView (in scenario1.html) in three columns with vertical scroll bar, what should I do?
Monday, January 7, 2013 4:28 AM