简体   繁体   English

react AG-grid:如何从 ag-grid 中的单元格中获取货币符号以及值

[英]react AG-grid: How to get currency symbol from a cell in ag-grid along with the value

working on react AG-grid feature range selection and i am trying to get the sum value of selected cells.致力于反应 AG-grid 特征范围选择,我正在尝试获取所选单元格的总和值。 i could get the sum of selected cells where as i am not able to get the currency symbol from the same cell.我可以得到选定单元格的总和,因为我无法从同一个单元格中获取货币符号。 is there any feature AG-grid provides to get the currency symbol. AG-grid 是否提供任何功能来获取货币符号。

For currency symbols i think you are looking for value-formatters对于货币符号,我认为您正在寻找值格式化程序

For a summary of the selection you might want to look into status-bar But it's not clear in your question if you are using enterprise or not.对于选择的摘要,您可能需要查看状态栏但是您的问题不清楚您是否使用企业。 Status-bar is an enterprise feature.状态栏是一项企业功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM