尝试使用rowSelection: "multiple"
实现多选功能
但是,我相信这似乎不会发生在项目中我当前版本的ag-grid上。所以我想要更新它。有没有帮助检查ag-grid的版本号?
发布于 2018-02-02 07:47:12
如果你已经安装了带有npm的ag-grid,那么在node_modules里面会有一个叫做ag-grid的新文件夹。相对路径是"node_modules/ag-grid/dist/ag-grid.min.js“,您可以看到该文件上安装了哪个版本。
发布于 2021-04-24 04:03:18
如果您查看您导入的ag网格文件的缩小版本,也就是。ag-grid-enterprise.min.js,在顶部有注释掉的部分。版本号应该列在那里。你应该会看到一个类似于我在下面粘贴的评论部分:
/**
* @ag-grid-enterprise/all-modules - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v25.1.0
* @link http://www.ag-grid.com/
* @license Commercial
*/
// @ag-grid-enterprise/all-modules v25.1.0
希望这能有所帮助!
https://stackoverflow.com/questions/48570559
复制相似问题