Skip to content

Tables lose interactivity in HTML #6764

@liquidcarbon

Description

@liquidcarbon

Describe the bug

Looks like it's currently not possible to sort or filter mo.ui.table output.
All the data is embedded into HTML but on sorting the browser console gives

CellNotInitializedError: The cell containing this UI element has not been run yet. Please run the cell first.

Altair chart also embeds all the requisite data in a JSON; as far as I can see, at least basic interactivity like zoom/pan/tooltips works as expected.

Will you submit a PR?

  • Yes

Environment

any

Code to reproduce

import marimo as mo
import duckdb
rel = duckdb.sql("FROM 'https://raw.githubusercontent.com/liquidcarbon/chembiodata/main/isotopes.csv'")
mo.ui.table(rel)

and look at HTML

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions