0

In React, using the Community version of Ag Grid, I want a custom dropdown component that looks richer than a plain . In particular, I would like to use react-select.

The problem is that the cell div has overflow:hidden on it (.ag-cell-value), so the dropdown options don't show up.

https://youtu.be/AjU3eq3rpDU

https://codesandbox.io/p/sandbox/svnxk5

On the very bottom of the page you can see an example of the dropdown outside of Active Grid so you can see what the options are supposed to look like when expanded, not being cut off by overflow:hidden.

I noticed that it is possible to use the cellEditorPopup:true option in the column definition, but then the custom component won't know the cell's size, so width:"100%",height:"100%" wouldn't work.

How best to achieve being able to use a custom dropdown component?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.