1

How to delete the columns in ag-grid table using column Id in reactJs?

1 Answer 1

0

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/

Sign up to request clarification or add additional context in comments.

1 Comment

Sry sir.Wrongly posted.I want to filter the ag-grid table data using checkbox

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.