We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4220888 commit 572f05dCopy full SHA for 572f05d
src/views/dashboard/modules/data-view/components/data-grid.vue
@@ -153,9 +153,12 @@ a-card.data-grid(:bordered="false")
153
154
tempRow.__types[columnName] = type
155
156
- // If item is a big number (as string), convert it to Number for table to show
+ // Convert numeric strings to Number only for types that fit in JS safe integer;
157
+ // Int64/UInt64 must stay as string to preserve precision (JSONbigint storeAsString).
158
if (numberTypes.includes(type) && typeof item === 'string') {
- item = Number(item)
159
+ if (type !== 'Int64' && type !== 'UInt64' && type !== 'Float64') {
160
+ item = Number(item)
161
+ }
162
}
163
tempRow[columnName] = item
164
})
0 commit comments