I am using a normal ag-grid with checkboxes in the first row of the grid to allow a user to select a row. I also have a select all checkbox in the header of the grid, which allows a user to easily select all checkboxes and rows with one click. I created the select-all checkbox with this code:
My users would like the option to include a "Refresh Data" button on his or her own that would allow the user to refresh the data in the grid, essentially passing fresh row data into the component. It would only re-load the row data. The problem here is that because it is only refreshing the row data, the select-all-checkbox stays checked while the rest of the rows are refreshed and un-checked. Is there a way to un-check the select-all-checkbox in the header when the row data is refreshed? Any event that can be listened to there?
My grid with checkboxes looks really similar to this: https://cloud.githubusercontent.com/assets/4819263/7002796/abb1e6da-dc50-11e4-9fde-3abd8de19261.png
Thanks for any help