Ag grid - Master/ detail - multi detail

三世轮回 提交于 2020-01-25 05:22:25

问题


For Ag grid Master/Detail, is there a way to add more than one detail? In the eg. it only eg with one detail only.


回答1:


It sounds like you are asking how to have a single master with multiple detail grids.

You will need to create your own detailCellRender class/object. In the template definition for your class, you create as many detail grids as you need. In the init method, you initialize the grid(s) and set their data.

It is very important to remember the life-cycle of a cell renderer! The grid only exists while it is visible.



来源:https://stackoverflow.com/questions/52986626/ag-grid-master-detail-multi-detail

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