New-SpectreGridRow
Description
Creates a new SpectreGridRow object with the specified columns for use in Format-SpectreGrid. PowerShell collapses nested arrays, so you must use this function to create an array of SpectreGridRow objects to provide to Format-SpectreGrid.
Examples
Example 1 # This example demonstrates how to create a grid with two rows and three columns.
Parameters
Data
An array of renderable items containing the data to be displayed in the columns of this row.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Array] | true | 1 | true (ByValue) |