diff --git a/src/sites/test-app/webcomponents/variant-interpreter-grid-test.js b/src/sites/test-app/webcomponents/variant-interpreter-grid-test.js
index 5a5591720b..73395fab97 100644
--- a/src/sites/test-app/webcomponents/variant-interpreter-grid-test.js
+++ b/src/sites/test-app/webcomponents/variant-interpreter-grid-test.js
@@ -71,11 +71,6 @@ class VariantInterpreterGridTest extends LitElement {
nucleotideGenotype: true,
alleleStringLengthMax: 10,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
-
quality: {
qual: 30,
dp: 20
diff --git a/src/webcomponents/alignment/gene-coverage-grid.js b/src/webcomponents/alignment/gene-coverage-grid.js
index 11c52d99e1..7482f2edb8 100644
--- a/src/webcomponents/alignment/gene-coverage-grid.js
+++ b/src/webcomponents/alignment/gene-coverage-grid.js
@@ -319,10 +319,6 @@ export default class GeneCoverageGrid extends LitElement {
nucleotideGenotype: true,
alleleStringLengthMax: 15,
showToolbar: true,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- }
};
}
diff --git a/src/webcomponents/clinical/clinical-analysis-grid.js b/src/webcomponents/clinical/clinical-analysis-grid.js
index 1665143237..777068c2c9 100644
--- a/src/webcomponents/clinical/clinical-analysis-grid.js
+++ b/src/webcomponents/clinical/clinical-analysis-grid.js
@@ -62,6 +62,12 @@ export default class ClinicalAnalysisGrid extends LitElement {
this.gridId = this._prefix + this.COMPONENT_ID;
this.active = true;
this._config = this.getDefaultConfig();
+ this.displayConfigDefault = {
+ header: {
+ horizontalAlign: "center",
+ verticalAlign: "bottom",
+ },
+ };
}
updated(changedProperties) {
@@ -612,7 +618,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
id: "caseId",
title: "Case",
field: "id",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: (value, row) => this.caseFormatter(value, row),
visible: this.gridCommons.isColumnVisible("caseId")
@@ -621,7 +627,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
id: "probandId",
title: "Proband (Sample) and Family",
field: "proband",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: (value, row) => this.probandFormatter(value, row),
visible: this.gridCommons.isColumnVisible("probandId")
@@ -630,7 +636,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
id: "disorderId",
title: "Clinical Condition / Panel",
field: "disorder",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: (value, row) => {
const panelHtml = row.panels?.length > 0 ? CatalogGridFormatter.panelFormatter(row.panels) : "-";
@@ -645,7 +651,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
id: "interpretation",
title: "Interpretation",
field: "interpretation",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: (value, row) => this.interpretationFormatter(value, row),
visible: this.gridCommons.isColumnVisible("interpretation")
@@ -654,7 +660,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
id: "status",
title: "Status",
field: "status",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: this.statusFormatter.bind(this),
events: {
@@ -668,7 +674,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
title: "Priority",
field: "priority",
align: "center",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: this.priorityFormatter.bind(this),
events: {
@@ -682,7 +688,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
title: "Analyst",
field: "analyst.id",
align: "center",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
visible: this.gridCommons.isColumnVisible("Analyst")
},
@@ -690,7 +696,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
id: "dates",
title: "Due / Creation Date",
field: "Dates",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: (field, clinicalAnalysis) => {
const dueDateString = UtilsNew.dateFormatter(clinicalAnalysis.dueDate);
@@ -715,7 +721,7 @@ export default class ClinicalAnalysisGrid extends LitElement {
id: "actions",
title: "Actions",
field: "actions",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
valign: "middle",
formatter: (value, row) => {
const session = this.opencgaSession;
@@ -889,10 +895,6 @@ export default class ClinicalAnalysisGrid extends LitElement {
showSelectCheckbox: false,
multiSelection: false,
detailView: false,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
showToolbar: true,
showActions: true,
diff --git a/src/webcomponents/cohort/cohort-grid.js b/src/webcomponents/cohort/cohort-grid.js
index 044b8f2323..a3e8231778 100644
--- a/src/webcomponents/cohort/cohort-grid.js
+++ b/src/webcomponents/cohort/cohort-grid.js
@@ -65,6 +65,12 @@ export default class CohortGrid extends LitElement {
this.gridId = this._prefix + this.COMPONENT_ID;
this.active = true;
this._config = this.getDefaultConfig();
+ this.displayConfigDefault = {
+ header: {
+ horizontalAlign: "center",
+ verticalAlign: "bottom",
+ },
+ };
}
updated(changedProperties) {
@@ -298,7 +304,7 @@ export default class CohortGrid extends LitElement {
${cohort.name ? `${cohort.name}` : ""}
`;
},
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("id")
},
{
@@ -306,7 +312,7 @@ export default class CohortGrid extends LitElement {
title: "Number of Samples",
field: "numSamples",
// formatter: (value, row) => row.numSamples ?? 0,
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("numSamples")
},
{
@@ -314,7 +320,7 @@ export default class CohortGrid extends LitElement {
title: "Creation Date",
field: "creationDate",
formatter: CatalogGridFormatter.dateFormatter,
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("creationDate")
},
];
@@ -470,10 +476,6 @@ export default class CohortGrid extends LitElement {
multiSelection: false,
showSelectCheckbox: false,
detailView: false,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
showToolbar: true,
showActions: true,
diff --git a/src/webcomponents/disease-panel/disease-panel-gene-view.js b/src/webcomponents/disease-panel/disease-panel-gene-view.js
index 5cefcd2851..d6c7b924cd 100644
--- a/src/webcomponents/disease-panel/disease-panel-gene-view.js
+++ b/src/webcomponents/disease-panel/disease-panel-gene-view.js
@@ -51,9 +51,14 @@ export default class DiseasePanelGeneView extends LitElement {
this.genePanels = {};
this._prefix = UtilsNew.randomString(8);
this.gridId = this._prefix + "GenePanelBrowserGrid";
- this.displayConfigDefault = {};
this._config = this.getDefaultConfig();
this.gridCommons = new GridCommons(this.gridId, this, this._config);
+ this.displayConfigDefault = {
+ header: {
+ horizontalAlign: "center",
+ verticalAlign: "bottom",
+ },
+ };
}
// connectedCallback() {
@@ -163,7 +168,7 @@ export default class DiseasePanelGeneView extends LitElement {
title: "Gene",
field: "name",
formatter: (value, row) => this.geneFormatter(row, this.opencgaSession),
- halign: this._config.header.horizontalAlign
+ halign: this.displayConfigDefault.header.horizontalAlign
},
{
id: "modesOfInheritance",
@@ -200,7 +205,7 @@ export default class DiseasePanelGeneView extends LitElement {
return "-";
}
},
- halign: this._config.header.horizontalAlign
+ halign: this.displayConfigDefault.header.horizontalAlign
},
{
id: "phenotypes",
@@ -261,10 +266,6 @@ export default class DiseasePanelGeneView extends LitElement {
detailView: false,
multiSelection: false,
showToolbar: false,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- }
};
}
diff --git a/src/webcomponents/disease-panel/disease-panel-grid.js b/src/webcomponents/disease-panel/disease-panel-grid.js
index 2faab7e47c..bedfaafbfe 100644
--- a/src/webcomponents/disease-panel/disease-panel-grid.js
+++ b/src/webcomponents/disease-panel/disease-panel-grid.js
@@ -67,6 +67,12 @@ export default class DiseasePanelGrid extends LitElement {
this.gridId = this._prefix + this.COMPONENT_ID;
this.active = true;
this._config = this.getDefaultConfig();
+ this.displayConfigDefault = {
+ header: {
+ horizontalAlign: "center",
+ verticalAlign: "bottom",
+ },
+ };
}
updated(changedProperties) {
@@ -374,7 +380,7 @@ export default class DiseasePanelGrid extends LitElement {
${idLinkHtml}
`;
},
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("name")
},
// {
@@ -392,7 +398,7 @@ export default class DiseasePanelGrid extends LitElement {
// }
// return row?.id ?? "-";
// },
- // halign: this._config.header.horizontalAlign,
+ // halign: this.displayConfigDefault.header.horizontalAlign,
// visible: this.gridCommons.isColumnVisible("id")
// },
{
@@ -400,7 +406,7 @@ export default class DiseasePanelGrid extends LitElement {
title: "Disorders",
field: "disorders",
formatter: disorders => CatalogGridFormatter.disorderFormatter(disorders),
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("disorders")
},
{
@@ -455,7 +461,7 @@ export default class DiseasePanelGrid extends LitElement {
id: "actions",
title: "Actions",
field: "actions",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
formatter: (value, row) => `
`;
},
sortable: true,
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("id")
},
{
@@ -452,7 +458,7 @@ export default class IndividualGrid extends LitElement {
}
return html;
},
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("samples")
},
{
@@ -460,7 +466,7 @@ export default class IndividualGrid extends LitElement {
title: "Father",
field: "father.id",
formatter: fatherId => fatherId || "-",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("father")
},
{
@@ -468,7 +474,7 @@ export default class IndividualGrid extends LitElement {
title: "Mother",
field: "mother.id",
formatter: motherId => motherId || "-",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("mother")
},
{
@@ -476,7 +482,7 @@ export default class IndividualGrid extends LitElement {
title: "Disorders",
field: "disorders",
formatter: CatalogGridFormatter.disorderFormatter,
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("disorders")
},
{
@@ -484,7 +490,7 @@ export default class IndividualGrid extends LitElement {
title: "Phenotypes",
field: "phenotypes",
formatter: CatalogGridFormatter.phenotypesFormatter,
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("phenotypes")
},
// {
@@ -492,7 +498,7 @@ export default class IndividualGrid extends LitElement {
// title: "Sex (Karyotypic)",
// field: "sex",
// formatter: this.sexFormatter,
- // halign: this._config.header.horizontalAlign,
+ // halign: this.displayConfigDefault.header.horizontalAlign,
// visible: this.gridCommons.isColumnVisible("sex")
// },
{
@@ -500,7 +506,7 @@ export default class IndividualGrid extends LitElement {
title: "Case ID",
field: "attributes.OPENCGA_CLINICAL_ANALYSIS",
formatter: (value, row) => CatalogGridFormatter.caseFormatter(value, row, row.id, this.opencgaSession),
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("caseId")
},
{
@@ -508,7 +514,7 @@ export default class IndividualGrid extends LitElement {
title: "Ethnicity",
field: "ethnicity",
formatter: (ethnicity, row) => ethnicity?.id || row.population?.name || "-",
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("ethnicity")
},
// {
@@ -517,7 +523,7 @@ export default class IndividualGrid extends LitElement {
// field: "dateOfBirth",
// sortable: true,
// formatter: CatalogGridFormatter.dateFormatter,
- // halign: this._config.header.horizontalAlign,
+ // halign: this.displayConfigDefault.header.horizontalAlign,
// visible: this.gridCommons.isColumnVisible("dateOfBirth")
// },
{
@@ -526,7 +532,7 @@ export default class IndividualGrid extends LitElement {
field: "creationDate",
formatter: CatalogGridFormatter.dateFormatter,
sortable: true,
- halign: this._config.header.horizontalAlign,
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("creationDate")
},
];
@@ -704,10 +710,6 @@ export default class IndividualGrid extends LitElement {
multiSelection: false,
showSelectCheckbox: false,
detailView: true,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
showToolbar: true,
showActions: true,
diff --git a/src/webcomponents/job/job-grid.js b/src/webcomponents/job/job-grid.js
index bb05508b80..fb05ce164f 100644
--- a/src/webcomponents/job/job-grid.js
+++ b/src/webcomponents/job/job-grid.js
@@ -71,6 +71,12 @@ export default class JobGrid extends LitElement {
this.autoRefresh = false;
this.eventNotifyName = "messageevent";
this._config = this.getDefaultConfig();
+ this.displayConfigDefault = {
+ header: {
+ horizontalAlign: "center",
+ verticalAlign: "bottom",
+ },
+ };
}
updated(changedProperties) {
@@ -685,10 +691,6 @@ export default class JobGrid extends LitElement {
showSelectCheckbox: false,
multiSelection: false,
detailView: true,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
showToolbar: true,
showActions: true,
diff --git a/src/webcomponents/variant/custom/steiner-report.js b/src/webcomponents/variant/custom/steiner-report.js
index 8ecdaabd53..c41dea11fa 100644
--- a/src/webcomponents/variant/custom/steiner-report.js
+++ b/src/webcomponents/variant/custom/steiner-report.js
@@ -420,11 +420,6 @@ class SteinerReport extends LitElement {
renderLocal: false,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom",
- },
-
quality: {
qual: 30,
dp: 20,
diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-browser-cancer.js b/src/webcomponents/variant/interpretation/variant-interpreter-browser-cancer.js
index 79943d3568..71692f7c08 100644
--- a/src/webcomponents/variant/interpretation/variant-interpreter-browser-cancer.js
+++ b/src/webcomponents/variant/interpretation/variant-interpreter-browser-cancer.js
@@ -546,10 +546,6 @@ class VariantInterpreterBrowserCancer extends LitElement {
type: "VAF"
},
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
quality: {
qual: 30,
dp: 20
diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-browser-cnv.js b/src/webcomponents/variant/interpretation/variant-interpreter-browser-cnv.js
index f092630f9c..85c658eaca 100644
--- a/src/webcomponents/variant/interpretation/variant-interpreter-browser-cnv.js
+++ b/src/webcomponents/variant/interpretation/variant-interpreter-browser-cnv.js
@@ -433,11 +433,6 @@ class VariantInterpreterBrowserCNV extends LitElement {
type: "VAF"
},
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
-
quality: {
qual: 30,
dp: 20
diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-browser-rd.js b/src/webcomponents/variant/interpretation/variant-interpreter-browser-rd.js
index 1bae76ad40..e4be1d9796 100644
--- a/src/webcomponents/variant/interpretation/variant-interpreter-browser-rd.js
+++ b/src/webcomponents/variant/interpretation/variant-interpreter-browser-rd.js
@@ -557,11 +557,6 @@ class VariantInterpreterBrowserRd extends LitElement {
// nucleotideGenotype: true,
// alleleStringLengthMax: 10,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
-
quality: {
qual: 30,
dp: 20
diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-browser-rearrangement.js b/src/webcomponents/variant/interpretation/variant-interpreter-browser-rearrangement.js
index c4d43f56f3..8f3bf141f1 100644
--- a/src/webcomponents/variant/interpretation/variant-interpreter-browser-rearrangement.js
+++ b/src/webcomponents/variant/interpretation/variant-interpreter-browser-rearrangement.js
@@ -429,11 +429,6 @@ class VariantInterpreterBrowserRearrangement extends LitElement {
// multiSelection: false,
// nucleotideGenotype: true,
alleleStringLengthMax: 25,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
-
isRearrangement: true,
quality: {
qual: 30,
diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-grid.js b/src/webcomponents/variant/interpretation/variant-interpreter-grid.js
index 7392b51e0a..b1d882850d 100644
--- a/src/webcomponents/variant/interpretation/variant-interpreter-grid.js
+++ b/src/webcomponents/variant/interpretation/variant-interpreter-grid.js
@@ -83,6 +83,14 @@ export default class VariantInterpreterGrid extends LitElement {
this._rows = [];
this.queriedVariants = {};
this.review = false;
+
+ this.displayConfigDefault = {
+ header: {
+ horizontalAlign: "center",
+ verticalAlign: "bottom",
+ },
+ };
+
}
firstUpdated() {
@@ -571,7 +579,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 1,
colspan: 1,
formatter: this.vcfDataFormatter,
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible(columnId, "VCF_Data"),
});
}
@@ -601,7 +609,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 2,
colspan: 1,
formatter: (value, row, index) => VariantGridFormatter.variantFormatter(value, row, index, this.opencgaSession.project.organism.assembly, this._config),
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
// sortable: true
visible: this.gridCommons.isColumnVisible("id"),
},
@@ -612,7 +620,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 2,
colspan: 1,
formatter: VariantGridFormatter.typeFormatter.bind(this),
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: !this._config.hideType && this.gridCommons.isColumnVisible("type"),
},
{
@@ -622,7 +630,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 2,
colspan: 1,
formatter: (value, row, index) => VariantGridFormatter.geneFormatter(row, index, this.query, this.opencgaSession, this._config),
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("gene"),
},
{
@@ -631,7 +639,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 2,
colspan: 1,
formatter: (value, row) => VariantGridFormatter.hgvsFormatter(row, this._config),
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("hgvs"),
},
{
@@ -641,7 +649,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 2,
colspan: 1,
formatter: (value, row, index) => VariantGridFormatter.consequenceTypeFormatter(value, row, this?.query?.ct, this._config),
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("consequenceType"),
},
{
@@ -663,7 +671,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 2,
colspan: 1,
formatter: VariantInterpreterGridFormatter.roleInCancerFormatter.bind(this),
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.clinicalAnalysis.type?.toUpperCase() === "CANCER" && this.gridCommons.isColumnVisible("evidences"),
excludeFromSettings: !(this.clinicalAnalysis.type?.toUpperCase() === "CANCER"),
},
@@ -672,7 +680,7 @@ export default class VariantInterpreterGrid extends LitElement {
title: "VCF File Data: " + vcfDataColumnNames.join(", "),
rowspan: 1,
colspan: vcfDataColumns?.length,
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
},
{
id: "cohort",
@@ -722,7 +730,7 @@ export default class VariantInterpreterGrid extends LitElement {
title: "Methods",
rowspan: 1,
colspan: 1,
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
},
{
id: "interpretation",
@@ -737,7 +745,7 @@ export default class VariantInterpreterGrid extends LitElement {
field: "interpretation",
rowspan: 1,
colspan: 4,
- halign: "center"
+ halign: this.displayConfigDefault.header.horizontalAlign,
},
{
id: "actions",
@@ -879,7 +887,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 1,
formatter: (value, row) => VariantGridFormatter.caddScaledFormatter(value, row),
align: "right",
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("cadd", "deleteriousness"),
},
{
@@ -890,7 +898,7 @@ export default class VariantInterpreterGrid extends LitElement {
rowspan: 1,
formatter: (value, row) => VariantGridFormatter.spliceAIFormatter(value, row),
align: "right",
- halign: "center",
+ halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible("spliceai", "deleteriousness"),
},
...vcfDataColumns,
@@ -1537,10 +1545,6 @@ export default class VariantInterpreterGrid extends LitElement {
multiSelection: false,
nucleotideGenotype: true,
alleleStringLengthMax: 10,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
showReview: true,
showEditReview: true,
diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-rearrangement-grid.js b/src/webcomponents/variant/interpretation/variant-interpreter-rearrangement-grid.js
index a122865a73..34eba35bb3 100644
--- a/src/webcomponents/variant/interpretation/variant-interpreter-rearrangement-grid.js
+++ b/src/webcomponents/variant/interpretation/variant-interpreter-rearrangement-grid.js
@@ -986,11 +986,6 @@ export default class VariantInterpreterRearrangementGrid extends LitElement {
// genotype: {
// type: "VCF_CALL"
// },
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
-
quality: {
qual: 30,
dp: 20
diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-review-primary.js b/src/webcomponents/variant/interpretation/variant-interpreter-review-primary.js
index ea78091e53..9a84eb7d0e 100644
--- a/src/webcomponents/variant/interpretation/variant-interpreter-review-primary.js
+++ b/src/webcomponents/variant/interpretation/variant-interpreter-review-primary.js
@@ -361,11 +361,6 @@ export default class VariantInterpreterReviewPrimary extends LitElement {
renderLocal: false,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
-
quality: {
qual: 30,
dp: 20
diff --git a/src/webcomponents/variant/variant-browser-grid.js b/src/webcomponents/variant/variant-browser-grid.js
index c5598616a6..10e335022d 100644
--- a/src/webcomponents/variant/variant-browser-grid.js
+++ b/src/webcomponents/variant/variant-browser-grid.js
@@ -1070,10 +1070,6 @@ export default class VariantBrowserGrid extends LitElement {
multiSelection: false,
nucleotideGenotype: true,
alleleStringLengthMax: 15,
- header: {
- horizontalAlign: "center",
- verticalAlign: "bottom"
- },
showToolbar: true,
showActions: true,
diff --git a/src/webcomponents/variant/variant-cohort-stats-grid.js b/src/webcomponents/variant/variant-cohort-stats-grid.js
index 2fe7121c22..20b5e0fc53 100644
--- a/src/webcomponents/variant/variant-cohort-stats-grid.js
+++ b/src/webcomponents/variant/variant-cohort-stats-grid.js
@@ -274,11 +274,6 @@ class VariantCohortStatsGrid extends LitElement {
pagination: true,
pageSize: 10,
pageList: [5, 10, 25],
-
- // header: {
- // horizontalAlign: "center",
- // verticalAlign: "bottom"
- // }
};
}