removeEmptyRows

fun removeEmptyRows()

Removes all empty rows e.g. all rows that have no views in their cells.

That means after calling every row has at least one component in its cells.

Attribute rows gets updated according to new dimension.

If the grid was empty the grid gets trimmed to size 0x0.

See also