diff --git a/package-lock.json b/package-lock.json
index 6ec20e7..4dff4e4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1448,7 +1448,6 @@
"resolved": "https://registry.npmjs.org/igniteui-webcomponents-charts/-/igniteui-webcomponents-charts-5.4.1.tgz",
"integrity": "sha512-rs11EZ521Q8qVfe0ksZ9hbMMwnVB35JIWK2aUvwJFpCdLzxfgKMLAz5Y8+lgxz9l/35iZww/MiOBTUMbiTj6ug==",
"license": "Infragistics(R) Ultimate license (http://www.infragistics.com/legal/ultimate/license/)",
- "peer": true,
"dependencies": {
"tslib": "^2.3.1"
},
@@ -1461,7 +1460,6 @@
"resolved": "https://registry.npmjs.org/igniteui-webcomponents-core/-/igniteui-webcomponents-core-5.4.1.tgz",
"integrity": "sha512-is3ogX9BXBld/v0SY4JxoaQ/Ht8Bvj/pNZEE7ZXcaecd5gFwB4FtIRuvW1VvmRSi8v2LPBKjH7MKkmW4fGDSHQ==",
"license": "Infragistics(R) Ultimate license (http://www.infragistics.com/legal/ultimate/license/)",
- "peer": true,
"dependencies": {
"tslib": "^2.3.1"
},
@@ -1615,7 +1613,6 @@
"resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.3.1.tgz",
"integrity": "sha512-S9hbyDu/vs1qNrithiNyeyv64c9yqiW9l+DBgI18fL+MTvOtWoFR0FWiyq1TxaYef5wNlpEmzlXoBlZEO+WjoA==",
"license": "BSD-3-Clause",
- "peer": true,
"dependencies": {
"@types/trusted-types": "^2.0.2"
}
@@ -1893,7 +1890,6 @@
"integrity": "sha512-XP1EltyLLfuU5FsGVjSz8PcT925oA3rDnJTWOEBHR42k62ZEbKTcZ4gVlFwKi0Ggzi5E8v1K2BplD8ELHwusYg==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"@bufbuild/protobuf": "^2.5.0",
"buffer-builder": "^0.2.0",
@@ -2323,7 +2319,6 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
- "peer": true,
"engines": {
"node": ">=12"
},
@@ -2547,7 +2542,6 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
- "peer": true,
"engines": {
"node": ">=12"
},
diff --git a/projects/finance-grid/src/finance-grid.ts b/projects/finance-grid/src/finance-grid.ts
index 2fb4d2b..1339dce 100644
--- a/projects/finance-grid/src/finance-grid.ts
+++ b/projects/finance-grid/src/finance-grid.ts
@@ -3,7 +3,7 @@ import { customElement, query, state } from "lit/decorators.js";
import { dataService } from "./services/data.service";
import { TRENDING_DOWN, TRENDING_UP } from "./assets/icons/icons";
import { configureTheme, defineComponents, IgcAvatarComponent, IgcIconComponent, IgcInputComponent, IgcLinearProgressComponent, registerIconFromText } from "igniteui-webcomponents";
-import { FilteringLogic, IgcCellTemplateContext, IgcFilteringExpressionsTree, IgcGridComponent, IgcStringFilteringOperand } from "igniteui-webcomponents-grids/grids";
+import { FilteringLogic, IgcCellTemplateContext, IgcColumnPipeArgs, IgcFilteringExpressionsTree, IgcGridComponent, IgcStringFilteringOperand } from "igniteui-webcomponents-grids/grids";
import "igniteui-webcomponents-grids/grids/combined.js";
import financeStyles from "./finance-grid.scss?inline";
@@ -37,6 +37,10 @@ export default class FinanceGrid extends LitElement {
// @state()
// private isLoading = true;
+ private currencyDigitsFormat: IgcColumnPipeArgs = {
+ digitsInfo: '1.2-2'
+ };
+
private profitConditionHandler = (rowData: any, columnKey: string) => {
return rowData[columnKey] >= 0;
};
@@ -133,7 +137,7 @@ export default class FinanceGrid extends LitElement {
return html`
-
+
Financial Portfolio
@@ -143,17 +147,17 @@ export default class FinanceGrid extends LitElement {
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
`;
}