returns the number of columns displayed
See also
Other functions for flextable size management:
autofit()
,
dim.flextable()
,
dim_pretty()
,
fit_to_width()
,
flextable_dim()
,
height()
,
hrule()
,
nrow_part()
,
width()
Examples
library(flextable)
ft <- qflextable(head(cars))
ncol_keys(ft)
#> [1] 2