问题
I want to show a popup kind of cell renderer when a cell is focused. For suppose, if the row height is 50px, when a specific cell is focused, I want to have a custom cell renderer that has a height greater than 50px(e.g., 80px). I have developed a custom cell renderer, but only the content which fits within the cell height(50px) is visible and the remaining content is cut off. I tried setting up absolute positioning,higher z-index etc., but nothing worked. For cell editors, we can specify isPopup(){ return true }
. Is it possible to have the same thing for cell renderer as well?
回答1:
I don't think that it is possible to create a renderer that displays outside of the cell. There is no API that I'm aware of to do it. Perhaps someone can come up with some sort of "hack", but just short of that, no.
来源:https://stackoverflow.com/questions/61825028/show-popup-kind-of-cell-renderer