简体   繁体   English

如何通过双击ag-grid中的一行来创建可扩展的“抽屉”?

[英]How to create an expandable 'drawer' by double-clicking on a row in ag-grid?

I would like to use ag-grid to display an expandable 'drawer' which appears just beneath a row and to display additional data about the row's record. 我想使用ag-grid来显示出现在行下方的可扩展“抽屉”,并显示有关该行记录的其他数据。

I've read tons of docs but I can't seem to find a simple way to do this. 我已经阅读了大量文档,但似乎找不到一种简单的方法来做到这一点。 Has anyone else achieved this before? 之前有其他人做到过吗?

Looks like you're talking about this: https://www.ag-grid.com/javascript-grid-master-detail/ 看来您在谈论这个: https : //www.ag-grid.com/javascript-grid-master-detail/

Or possibly this: https://www.ag-grid.com/javascript-grid-grouping/ . 或者可能是这样: https : //www.ag-grid.com/javascript-grid-grouping/

Both are enterprise features, unfortunately. 不幸的是,两者都是企业功能。

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

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