% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table2_utils.R
\name{apply_zebra_stripes_ft}
\alias{apply_zebra_stripes_ft}
\title{Apply zebra stripes with proper variable group detection for indented tables}
\usage{
apply_zebra_stripes_ft(ft, df, var_groups)
}
\arguments{
\item{ft}{\pkg{flextable} object.}

\item{df}{The source data.table used to create the flextable.}

\item{var_groups}{List of row index vectors for variable groups.}
}
\value{
Flextable object with zebra stripe formatting applied.
}
\description{
Applies alternating background colors to variable groups in \pkg{flextable} objects.
Handles both indented tables (detects groups by leading whitespace) and
non-indented tables (uses pre-identified groups).
}
\keyword{internal}
