Skip to content

Feature: Type -> Component mapping with weakdeps #197

Open
@sjkelly

Description

@sjkelly

When #195 is merged it should be possible to write an extension such that some common Types have trivial component methods:

df = DataFrame(data) 

app = dash()

app.layout = dash_datatable(
    data = map(eachrow(df)) do r
      Dict(names(r) .=> values(r))
    end,
    columns=[Dict("name" =>c, "id" => c) for c in names(df)]
)

Could become:

df = DataFrame(data) 

app = dash()

app.layout = dash_datatable(df)

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