Open chiaochi opened 4 months ago
Thank you for submitting this issue! Definitely, that method should work on the column designated for grouping. Will fix this soon.
Similar (but possibly distinct) issue: If you set rowname_col
in GT()
, you cannot apply styles to that column with tab_style
and loc.body
. For example:
(
GT(..., rowname_col='Category')
.tab_style(
style=style.borders(sides=["bottom"], style="double", weight="4px"),
locations=loc.body(rows=[-1])
)
)
applies a line across the full table if rowname_col
is not set, but doesn't apply the line to rowname_col
if it is set. Specifying columns=[0, ...]
does not fix this.
Prework
Description
fmt_markdown
method doesn't seem to work ongroupname_col
Reproducible example
Slightly modifying the "Populations of Oceania's Countries in 2000, 2010, and 2020" table to use as example. What I did:
fmt_markdown(columns=["region"])
Expected result
The row group (i.e. region) should be a hyperlink instead it's just showing the raw text.
Development environment
Additional context
Add any other context about the problem here.