minor
This commit is contained in:
parent
ee0f6e512e
commit
dbed415ff3
2
dist/frappe-datatable.cjs.js
vendored
2
dist/frappe-datatable.cjs.js
vendored
@ -2549,7 +2549,7 @@ class CellManager {
|
||||
if (isHeader || isFilter || !cell.column.format) {
|
||||
contentHTML = cell.content;
|
||||
} else {
|
||||
const row = this.rowmanager.getRow(cell.rowIndex);
|
||||
const row = this.datamanager.getRow(cell.rowIndex);
|
||||
const data = this.datamanager.getData(cell.rowIndex);
|
||||
contentHTML = cell.column.format(cell.content, row, cell.column, data);
|
||||
}
|
||||
|
||||
2
dist/frappe-datatable.js
vendored
2
dist/frappe-datatable.js
vendored
@ -2548,7 +2548,7 @@ class CellManager {
|
||||
if (isHeader || isFilter || !cell.column.format) {
|
||||
contentHTML = cell.content;
|
||||
} else {
|
||||
const row = this.rowmanager.getRow(cell.rowIndex);
|
||||
const row = this.datamanager.getRow(cell.rowIndex);
|
||||
const data = this.datamanager.getData(cell.rowIndex);
|
||||
contentHTML = cell.column.format(cell.content, row, cell.column, data);
|
||||
}
|
||||
|
||||
@ -2548,7 +2548,7 @@ class CellManager {
|
||||
if (isHeader || isFilter || !cell.column.format) {
|
||||
contentHTML = cell.content;
|
||||
} else {
|
||||
const row = this.rowmanager.getRow(cell.rowIndex);
|
||||
const row = this.datamanager.getRow(cell.rowIndex);
|
||||
const data = this.datamanager.getData(cell.rowIndex);
|
||||
contentHTML = cell.column.format(cell.content, row, cell.column, data);
|
||||
}
|
||||
|
||||
@ -684,7 +684,7 @@ export default class CellManager {
|
||||
if (isHeader || isFilter || !cell.column.format) {
|
||||
contentHTML = cell.content;
|
||||
} else {
|
||||
const row = this.rowmanager.getRow(cell.rowIndex);
|
||||
const row = this.datamanager.getRow(cell.rowIndex);
|
||||
const data = this.datamanager.getData(cell.rowIndex);
|
||||
contentHTML = cell.column.format(cell.content, row, cell.column, data);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user