How to hide column in AG-Grid?
问题 How to hide the column in AG-Grid and also it should not be displayed in Tool Panel... var columnDefs = [{ headerName: "Stone_ID", field: "Stone_ID", width: 100, hide: "true" }] 回答1: You can set the column property of suppressToolPanel to true to achieve that. var columnDefs = [ { headerName: "Stone_ID", field: "Stone_ID", width: 100, hide: true, suppressToolPanel: true } ] 回答2: If you are looking for dynamically show/hide columns follow below: You can use either setColumnVisible or