marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Configure which columns to show in `marimo.ui.table`

Open shunichironomura opened this issue 1 month ago • 1 comments

Description

When I display a table using marimo.ui.table, I would like to configure which column to be displayed in the output table without changing the data passed to the marimo.ui.table.

This can be useful when you want to access the value of a column for the row(s) that the user selects, but do not want to show the column for compactness. A typical example of this would be a column for the ID of each entry.

Suggested solution

A new parameter for the marimo.ui.table to configure which columns to include (or exclude) would solve this.

Are you willing to submit a PR?

  • [ ] Yes

Alternatives

No response

Additional context

No response

shunichironomura avatar Oct 29 '25 12:10 shunichironomura

This request makes sense, thanks for filing this. We would accept a contribution for this, but currently backlogged on some stability tasks

mscolnick avatar Nov 04 '25 16:11 mscolnick