Skip to content

Epic -- Data frames #1119

@gshotwell

Description

@gshotwell

From #1198

  • Adds feature of getting selected data from dataframe renderer. ; mydf.data_selected_rows()
  • Adds feature of getting data from dataframe renderer. ; mydf.data()

Followup to #1198

QA

Features

Editable tables

  • Edit cells
    • Server side tweak for cell / cells; .set_patch_fn(); .set_patches_fn()
  • Add rows
  • Add columns
  • Paste data

Styling

  • Styled tables
    • DataGrid/DataTable styles= takes Styles
      • Styles = list[StyleInfo]
      • StyleInfo = {loc: "body", rows: int | List[int], columns: int | str | List[int | str], style: str? | dict[str, Jsonifiable]? | None, class_: str | None, }
    • DataGrid/DataTable styles= takes Callable[[data], Styles]
    • Call styles after edit and init. Send whole styles value
    • Support Styles.rows: List[bool]?
    • Post-1.0
      • GT: Styling
        • GT: Body cells [P0]
        • GT: Column labels [P2]
        • GT: Row labels (stubs) [P2]
      • GT: cell data formatting [P0]
        • GT: Sorting/filtering/editing on underlying data instead of displayed data [P1]
      • GT: Column rearranging/hiding [P1]
      • GT: Column names [P1]
      • GT: Markdown/HTML support [P1]
      • GT: Some amount of erroring if you used a GT feature we don't support [P1]
      • GT: Column alignment/width
      • GT: Table options?
      • GT: Font stack?
      • GT: Spanners
      • data view styles?
  • Column widths
  • Conditional formatting
  • Great tables integration - documentation on website, and work with render.table
  • Better handling of long entries (wrapping, truncating etc)

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    data frameRelated to @render.data_frameepicMeta issue to keep track of other issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions