Comments (1)
Hey Chris!
I'm glad to know that this component is helping you! =)
I do think that the boiler plate code is too much. But it is the burden of a highly customizable component. In version 0.1.9 I changed the signature of AgGrid call to capture any **kwargs and pass them as key/pair values to DefaultColDef. This way, for instance you can have a full editable grid just by calling ````AgGrid(data, editable=True)```.
-
I'm thinking on how to make the call more 'friendly', maybe not using a builder for the gridOptions, but for AgGrid itself.
1.2 I'm not the creator of the Ag-Grid javascript component, for some featrues, like conditional cell formatting, it is necessary to do that using Javascript, there is no easy way of converting python code to javascript, so the approach was to allow JsCode injection in the component. -
I don't think i understood this one. Do you want a multiselect and the grid filter to be in synch? Why don't you filter the data before sending to the grid and disable it on the grid? This way your filtering is centered in one location only.
-
the grid returns a dicitionary. "data" key contains the data from the grid, "selected_rows" keys contains a dictionary with selected data. So, if you want a dataframe with selected data only, you could use
selected = grid_response['selected_rows']
selected_df = pd.DataFrame(selected)
from streamlit-aggrid.
Related Issues (20)
- How to build package? HOT 1
- online examples no longer viewable HOT 2
- Horizontal Scroll When Adding Checkboxes HOT 1
- Is the project still live? HOT 4
- Render PIL.Image in AG Grid
- onGridReady passed in via gridOption is not used
- horizontal scroll bar not showing immediately (need to scroll down to the end first then it shows) when a height is defined HOT 4
- Streamlit button on every row HOT 1
- StopIteration due to columnDefs HOT 1
- Bottom of AgGrid disappears - pagination and horizontal scrolling gone HOT 2
- KeyError: 'ExcelBlob'
- reload_data=True doesn't work HOT 2
- Links display issue with streamlit-aggrid HOT 1
- u
- paginationPageSize seems not to work HOT 1
- Add ability to move sidebar to the left side
- Multiselect dropdown list for aggrid column
- html rendering fails HOT 1
- Unable to Enable RTL Mode in Streamlit-AgGrid Component HOT 1
- use Sparklines - Points of Interest to mark 'First and Last' but it's not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamlit-aggrid.