Ag网格

编程入门 行业动态 更新时间:2024-10-22 22:56:46
本文介绍了Ag网格-主/细节-多细节的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

对于Ag网格主/明细,是否可以添加多个明细?在例如。

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.

推荐答案

听起来像您在问如何拥有一个具有多个详细信息网格的母版。

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

您将需要创建自己的 detailCellRender类/对象。 在类的模板定义中,您可以根据需要创建任意数量的详细信息网格。 在init方法中,初始化网格并设置其数据。

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.

更多推荐

Ag网格

本文发布于:2023-11-23 01:31:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1619630.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网格   Ag

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!