Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/423.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Angular2的devextreme数据网格中的数字格式_Javascript_Angular_Typescript_Devextreme - Fatal编程技术网

Javascript Angular2的devextreme数据网格中的数字格式

Javascript Angular2的devextreme数据网格中的数字格式,javascript,angular,typescript,devextreme,Javascript,Angular,Typescript,Devextreme,在我的DexExtremeDataGrid中,我使用fixedPoint作为带有数字的单元格的格式。数字的格式如下:1234567.12 我希望它们的格式为1.234.567,12 我的感觉是它与语言环境有关,但我不确定如何在Angular2应用程序中设置它。有人能帮我吗?看起来你唯一能做的就是在devextreme/localization中编辑numbers.js文件。当然,这是一个可怕的解决方案;软件包的更新将破坏它,但这似乎是目前唯一的解决方案

在我的DexExtremeDataGrid中,我使用fixedPoint作为带有数字的单元格的格式。数字的格式如下:1234567.12
我希望它们的格式为1.234.567,12

我的感觉是它与语言环境有关,但我不确定如何在Angular2应用程序中设置它。有人能帮我吗?

看起来你唯一能做的就是在devextreme/localization中编辑numbers.js文件。当然,这是一个可怕的解决方案;软件包的更新将破坏它,但这似乎是目前唯一的解决方案