Show popup kind of cell renderer

家住魔仙堡 提交于 2021-02-11 14:50:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!