I am using vue aggrid. I have 10 columns in the table and all columns are displayed by default. Now the user can select and unselect column from the column panel. Is there a way to get an array of columns which are selected by the user that are displayed in the table. I tried
this.gridOptions.api.sortController.columnController.getAllDisplayedColumns()
This gives the array of objects of selected columns, but is there any other way through which we can get the selected columns names.