GridLayout.maximumRowsOrColumns property
Gets or set the maximum number of rows or columns, depending on the orientation, to display before content begins to wrap.
Syntax
<div
data-win-control="WinJS.UI.GridLayout"
data-win-options="{ maximumRowsOrColumns : value}" >
</div>
var maximumRowsOrColumns = gridLayout.maximumRowsOrColumns;
gridLayout.maximumRowsOrColumns = maximumRowsOrColumns;
Property value
Type: Number
The maximum number of rows or columns, depending on the orientation, to display before content begins to wrap. A value of 0 indicates that there is no maximum. The default value is 0.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |