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.
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
I have more columns in my df and they are all shown, instead of just the two configured ones as I expect using AgGrid.