flet-dev / flet-dev/flet

Data Table heading row color overlaps top border radius into a sharp corner

Open
#2,679 0 comments 0 reactions 1 assignee View on GitHub

@ndonkoHenri is already working on this.

Since Feb 28, 2026.

bug
Dominant language
Python
Stars
17k
Forks
694
Avg merge
1d 14h
Merged PRs (30d)
33

Description

[v0.19.0]
[Edit: Issue persists in v0.20.2]

There's also another issue with border as well (shown later)

page.add(DataTable(
            expand=1,
            width=inf,
            border_radius=12,
            # border=ft.border.all(0,None),
            bgcolor='grey800',
            # heading_row_color='#1a1a1a',
            heading_row_color='blue',
            columns=[
                DataColumn(label=Text("Filename")),
                DataColumn(label=Text("Split status")),
            ],
        )
)

Result:
image

Result when heading_row_color='blue', is commented out:
image

Result when neither heading_row_color='blue', and # border=ft.border.all(0,None), is commented:
image
Why does 0 and None still render a border?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.