GridLayout.maxRows property

This topic has not yet been rated - Rate this topic

Gets or sets the maximum number of rows displayed by the ListView.

Syntax


<div data-win-control="WinJS.UI.ListView"
     data-win-options="{layout: {type: WinJS.UI.GridLayout, maxRows: value}}">
</div>


var maxRows = gridLayout.maxRows;
gridLayout.maxRows = maxRows;

Property value

Type: Number

The maximum number of rows displayed by the ListView.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

GridLayout

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.