# cells parameter (skin)

Source: https://ref.dm-lang.org/skin/param/cells

### Applies to
> [Grid](https://ref.dm-lang.org/skin/control/grid.md)

### Format
- `*columns*,*rows*`
- `*items*`


### Default value
> `0x0`

The number of columns and rows in the grid. Using -1 for either columns or rows will leave that value unchanged.

If [is-list](https://ref.dm-lang.org/skin/param/is-list.md) is true, this value can be set to a single number.

### See also
- [cell-span parameter](https://ref.dm-lang.org/skin/param/cell-span.md)
- [current-cell parameter](https://ref.dm-lang.org/skin/param/current-cell.md)
- [is-list parameter](https://ref.dm-lang.org/skin/param/is-list.md)
