Connecting Self-Hosted MongoDB to AgGrid Table in Windmill UI - Need Support with Data Display Issue
I'm trying to connect an AgGrid Table to a self-hosted MongoDB instance. Since Windmill docs currently only cover MongoDB Atlas, I'm using a custom Python script as a data source for the AgGrid.
Current Setup:
- Self-hosted MongoDB with collection containing ~100k records
- Python script using pymongo to fetch and return data
- AgGrid Table component with infinite scroll configuration
Issue:
The script executes successfully and returns properly formatted data (verified via logs), but the AgGrid Table remains empty. I've tried:
- Verifying column definitions match the data structure
- Setting Row Id Col to "unique_ID"
- Toggling pagination settings
- Adjusting infinite scroll configuration
- Using both the columnDefs in the script return and in the AgGrid configuration
The script is successfully connecting to MongoDB and returning data (verified through debug logging), but the AgGrid Table doesn't display any of it.
Is there a simpler way to connect AgGrid directly to a self-hosted MongoDB? Or if not, what am I missing in my current workaround setup?
Thanks for any help!