Skip to content

Creating a two dimensional VirtualFlow #136

@Symeon94

Description

@Symeon94

Hello,

I'm currently using TableView in my project, but I've run into two major limitations that are pushing me to consider reimplementing a custom table using Flowless:

  1. Performance inefficiencies — similar to those highlighted in Flowless benchmarks.
  2. Limited control over scrolling — specifically, no direct access to TableView's scrolling behavior.

To work around this, I started experimenting with VirtualFlow. However, it seems you can only create either a vertical or a horizontal flow — not both simultaneously. My approach was to create a horizontal VirtualFlow where each column is itself a vertical VirtualFlow. This setup works to some extent, but introduces a new challenge:

  • I can add a global horizontal scrollbar.
  • I cannot add vertical scrollbars for all columns together.

I tried to bind vertical scrolling bidirectionally, but it seems to causes misalignments in certain cases.

My question is: is there a known way to implement a truly two-dimensional VirtualFlow with independent horizontal and vertical scrollbars? Or any best practices for synchronizing scrolling across nested flows without losing alignment?

Any insights or suggestions would be greatly appreciated!

Thanks,
Syméon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions