=== "Table Barchart" ||
                            currentRenderer === "Heatmap" || currentRenderer === "Row Heatmap" || currentRenderer === "Col Heatmap" ) {
                            $("#export-btn").show(); // Show button for tables
                        } else {
                            $("#export-btn").hide(); // Hide button for charts
                        }
                        // Hide fields from dropdown but keep them available in the table
                        let hiddenFields = [
