Commit f70b4d5b authored by Grand Francois's avatar Grand Francois
Browse files

fix: PAB table: selected areas when clicking on various cells

refs #615
Showing with 6 additions and 3 deletions
+6 -3
...@@ -481,6 +481,7 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni ...@@ -481,6 +481,7 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni
// 1 col for wall // 1 col for wall
this.headers.push({ this.headers.push({
title: this.i18nService.localizeText("INFO_PB_CLOISON"), title: this.i18nService.localizeText("INFO_PB_CLOISON"),
selectable: bs
}); });
// 1 header for each device of the wall having the most devices (including downwall) // 1 header for each device of the wall having the most devices (including downwall)
for (let i = 0; i < maxNbDevices; i++) { for (let i = 0; i < maxNbDevices; i++) {
...@@ -577,7 +578,8 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni ...@@ -577,7 +578,8 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni
}); });
// empty line (EB cell, see note) // empty line (EB cell, see note)
deviceParamRow.cells.push({ deviceParamRow.cells.push({
colspan: 3 colspan: 3,
selectable: cloison
}); });
// ZRAM // ZRAM
deviceParamRow.cells.push({ deviceParamRow.cells.push({
...@@ -604,7 +606,8 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni ...@@ -604,7 +606,8 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni
}); });
// empty cell (EZRAM cell, see note) // empty cell (EZRAM cell, see note)
deviceParamRow.cells.push({ deviceParamRow.cells.push({
rowspan: paramRowCount rowspan: paramRowCount,
selectable: cloison
}); });
} }
else if (r === 2) { else if (r === 2) {
...@@ -696,7 +699,7 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni ...@@ -696,7 +699,7 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni
tableRow.cells.push({ tableRow.cells.push({
colspan: 2, colspan: 2,
rowspan: remaining, rowspan: remaining,
selectable: ps selectable: struct
}); });
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment