checkbox

fun <T> checkbox(): @Composable (T, CellEditController) -> Unit(source)

A boolean editor that flips the cell as soon as it opens, so Enter, F2, or a double-click toggles the value in one step. Pair it with checkboxCell so the cell shows the state, and with DataTableHeader.editOnClick to toggle on a single click.