Hi, im using React typescript and im trying to limit the decimals, every option i tried doesn't work at all, i tried everything and nothing,
<ColumnsDirective>
{visibleColumns.length ? (
visibleColumns.map((headCol) => {
if (!headCol.hidden) {
return headCol.columnSpecs.length && headCol?.columnSpecs?.filter((col) => !col.hidden)?.length ? (
<ColumnDirective
key={headCol.columnSpecs[0].fieldId}
allowResizing={false}
columns={
headCol.columnSpecs.map((col) => {
return {
field: col.fieldId,
headerText: col.label,
groupId: headCol.columnGroupId,
width: col.width || 120,
minWidth: 50,
maxWidth: 250,
type: col.valueFormat,
format: col.valueFormat === 'date' ? 'dd/MM/yyyy' : undefined,
edit: col.editable,
textAlign: capitalize(col.horizontalAlign || ''),
};
}) as unknown as ColumnModel[]
}
headerTextAlign="Center"
headerText={headCol.label}
/>
this is part of my component, i use queryCellInfo but nothing happen here, any suggestions??? also i tried with localization and still the s