I am using AG Grid getSelectedRows()
to get the selected rows data.
The issue is when i uncheck some columns to hide it using columns tool Panels, the getSelectedRows()
it will retrive all the row vlaues, i mean the hidden and the visibles rows valus.
my quiestion, is there any way to get visibles Rows data only?
As the below image shows, i need to get only Country, year and date row values instead of getting all columns
const selectedRows: any = this.gridOptions.api.getSelectedRows();