GridLayout.maxRows property
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 WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |