Hello there,
We are considering using the PivotView component. However, we were unsure about one thing. We want to translate the fields in the FieldList into Turkish, but we could not access the list. The translation we made in the fields of columns, rows and values appears in the field list, but we could not translate because it received other fields from JSON. How can you help with this issue? We did not use the ejs-pivotfieldlist component
name: 'current_account_code',
caption: this.translateService.instant('current_account_code')
}
this.dataSourceSettings = {
enableSorting: true,
rows: [
{ name: "Year" },
{ name: "Order_Source", caption: "Order Source" }
],
columns: [{ name: "Country" }, { name: "Products" }],
valueSortSettings: { headerDelimiter: " - " },
dataSource: data,
expandAll: false,
drilledMembers: [{ name: "Year", items: ["FY 2015"] }],
formatSettings: [{ name: "Amount", format: "C" }],
values: [{ name: "Amount", caption: "Sales Amount" }],
filters: [],
fieldMapping: [{ name: "Sold", caption: "Units Sold" }]
}; |