ag-grid-column

How to hide column in AG-Grid?

我只是一个虾纸丫 提交于 2021-02-06 15:17:17
问题 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

How to hide column in AG-Grid?

徘徊边缘 提交于 2021-02-06 15:16:25
问题 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