Skip to content

All columns shown #32

@ponsoc

Description

@ponsoc

Hi there,

As far as I understand the data_editor and dataframe component are both AgGrid based. With the latest update based on my previous issue #28

I had to change my original code to make it work. In my opinion there is really no difference between viewing and editing. This more depended on whatever the developer wants. Preconfiguring makes it less flexible and might lead to unexpected behaviour compared to AgGrid defaults.

Currently my issue is that I have this code

app.data_editor(df,toolbar=False, column_config={"subject":{"label":"Subject"},"label":{
        "field": 'label',
        "type":"select",
        "options": labels.value, 
    }})

I have more columns in my df and they are all shown, instead of just the two configured ones as I expect using AgGrid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions