Ag-Grid Not Supporting Special Symbol

我与影子孤独终老i 提交于 2020-05-15 08:45:06

问题


I tried using Ag-Grid, and faced a challenge to plot the data for Special Symbol, It actually doesn't support the special symbol and doesn't plot it!!

Refer To Example1.png, here the No. Column Doesn't contain data, but when I remove the dot operator from my script.js file from headerName, and rowData, it starts plotting it. (Refer To Example2.png)

Also attached a zip file (Google Drive Link) as a prototype of this problem for your reference! https://drive.google.com/open?id=1UqyrRtAhg8-HBwqVqUT_CGMhwyr_cOUt

Kushagra


回答1:


You probably just need to set the suppressFieldDotNotation grid option to true:

suppressFieldDotNotation

If true, then dots (eg address.firstline) in field names are not treated as deep references. Allows you to use dots in your field name if you prefer.

(You didn't show any code and I'm not looking in a .zip.)

Alternatively, you can have dots in your headerName, they just can't be in your field name.



来源:https://stackoverflow.com/questions/53333362/ag-grid-not-supporting-special-symbol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!