Add base64 handling for binary data in filter and grid components

This commit is contained in:
Stela Augustinova
2025-10-29 15:08:57 +01:00
parent aa7fb74312
commit 417334d140
5 changed files with 16 additions and 4 deletions

View File

@@ -15,6 +15,9 @@
if (force && value?.type == 'Buffer' && _.isArray(value.data)) {
return String.fromCharCode.apply(String, value.data);
}
else if (force && value?.$binary?.base64) {
return atob(value.$binary.base64);
}
return stringifyCellValue(value, 'gridCellIntent').value;
}
</script>