如何使用reactJs
列ID删除ag-grid
表中的列?
Use setColumnVisible(colKey, visible)
in columnApi
. It Sets the visibility of a column. colKey
can be the column id or Column object. visible
is a boolean, true to show, false to hide. I don't think you can remove a column, but you can hide or show it.
Refer documentation here - https://www.ag-grid.com/javascript-grid-column-api/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.