简体   繁体   English

使用 ag-grid 组件反应属性网格

[英]React Property Grid with ag-grid component

Can I create property grid with react and ag-grid component such as below?我可以使用如下所示的 react 和 ag-grid 组件创建属性网格吗?

属性网格

I just need plain property grid.我只需要普通的属性网格。

thanks for all replies感谢所有回复

I developed a Property grid with ag-gird.我用 ag-gird 开发了一个属性网格。 For this, you need to use Tree List and full-width rows.为此,您需要使用树列表和全角行。

Render full-width rows(as Expander component so that you can hide/show the remaining children).渲染全宽行(作为扩展器组件,以便您可以隐藏/显示剩余的子项)。

Then you can render any custom cell renderer based on some conditions.然后您可以根据某些条件渲染任何自定义单元格渲染器。

You can collapse/expand all rows with collapseAll and expandAll features.您可以使用 collapseAll 和 expandAll 功能折叠/展开所有行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM