removeEmptyColumns

fun removeEmptyColumns()

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

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

Attribute columns get updated according to new dimension.

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

See also