final | |
|---|---|
readonly | |
extends |
AbstractControl |
Typed DTO for sap.f.GridContainerItemLayoutData — the layout data
object attached to items inside a sap.f.GridContainer to dictate
how many columns / rows each item spans.
Set on the consumer's Card via the artifact's getCard() override,
or on a tile by the TileProviderInterface that builds it:
public function getCard(): Card
{
return new Card(
layoutData: new GridContainerItemLayoutData(columns: 8, rows: 3),
);
}
On the wire it nests inside the parent control's layoutData
property:
"sap.ui.integration.widgets.Card": {
"manifest": "...",
"layoutData": {
"sap.f.GridContainerItemLayoutData": { "columns": 8, "rows": 3 }
}
}
UI5's ManagedObject settings handler picks up layoutData as the
standard layout-data aggregation; the <lux:Dashboard> walker just
instantiates the nested control like any other vocabulary class.
minRows / maxRows constrain auto-flow in CSS-grid mode; both
default to null so UI5's own defaults apply (no opinion from Core).
| Methods | ||
|---|---|---|
public
|
__construct(int $columns = 2, int $rows = 1, ?int $minRows = null, ?int $maxRows = null)
|
# |
public
|
ui5Class(): string
|
# |
| Methods inherited from LaravelUi5\Core\Ui5\Controls\AbstractControl |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
int
|
$columns
|
# |
public
|
int
|
$rows
|
# |
public
|
?int
|
$minRows
|
# |
public
|
?int
|
$maxRows
|
# |