【问题标题】:Is it possible to set ag-grid column as fixed so that it could not be moved?是否可以将 ag-grid 列设置为固定使其无法移动? 【发布时间】:2021-06-09 11:37:09 【问题描述】: 是否可以/如何修复分组列使其无法移动? https://www.ag-grid.com/javascript-grid/grouping/ 【问题讨论】: 标签: grouping ag-grid 【解决方案1】: 将您的列固定在左侧并将lockPinned 设置为true,两者都在autoGroupColumnDef 中: autoGroupColumnDef: { pinned: 'left', lockPinned: true, }, Demo. 【讨论】: 嗨@Agnes,如果这个或任何答案解决了您的问题,请点击复选标记考虑accepting it。这向更广泛的社区表明您已经找到了解决方案,并为回答者和您自己提供了一些声誉。没有义务这样做。