GridLayout.maxRows property

Applies to Windows only

This property is no longer supported. Starting with Windows Library for JavaScript 2.0, use the maximumRowsOrColumns property. 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]

Minimum supported phone

None supported

End of client support

Windows 8.1

End of phone support

None supported

End of server support

Windows Server 2012 R2

Namespace

WinJS.UI

Library

Ui.js

See also

GridLayout

 

 

Show:
© 2014 Microsoft