This commit is contained in:
2020-11-30 23:39:18 +00:00
parent e67aac0ede
commit 8ed57f6e4b
2 changed files with 16 additions and 8 deletions

View File

@@ -356,7 +356,7 @@
/* Xeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
import relativeDatefilterCalculator from "../api/relative-date-filter-calculator.js";
const MAX_TEXT_COLUMN_LENGTH = 1024;
export default {
data() {
return {
@@ -749,6 +749,11 @@ function buildRecords(listData, columndefinitions) {
hour12
);
break;
case 4: //text
if (display.length > MAX_TEXT_COLUMN_LENGTH) {
display = display.substring(0, MAX_TEXT_COLUMN_LENGTH) + "...";
}
break;
case 7: //decimal
display = window.$gz.locale.decimalLocalized(display, languageName);
break;