returns the number of columns displayed

ncol_keys(x)

Arguments

x

flextable object

See also

Examples

library(flextable)
ft <- qflextable(head(cars))
ncol_keys(ft)
#> [1] 2