addCollapser

inline fun Table.addCollapser(shown: Boolean = true, background: Drawable = Styles.none, constructor: Table.() -> Unit = {}): Cell<Collapser>

Adds a collapser constructed by a lambda to the existing table and returns the created cell


inline fun Table.addCollapser(crossinline shown: () -> Boolean = { true }, background: Drawable = Styles.none, animate: Boolean = false, constructor: Table.() -> Unit = {}): Cell<Collapser>

Adds a collapser constructed by a lambda to the existing table and returns the created cell. Whether it's shown is determined by the lambda.