angular - Devexpress Datagrid 图标图像过滤器不显示角度
问题描述
我在数据网格中定义了一个过滤器行,但我看不到与下拉菜单中存在的图标关联的图像。
<dx-data-grid id="gridContainer" [dataSource]="orders" [showBorders]="true">
<dxo-filter-row
[visible]="true">
</dxo-filter-row>
<dxi-column dataField="latitude"
caption="Latitude">
datatype="number"
</dxi-column>
</dx-data-grid>
我所指的图标是这些
无法显示玻璃图像图标的原因可能是什么?
解决方案
Their icons are font based. Make sure you include their font files and they are accessible.
If you check in your browser there are probably 404 errors trying to download those font files. Find the path that its expecting them to be, and include them there.
Here's a ticket on devextreme explaining it as well https://supportcenter.devexpress.com/ticket/details/t756616/angular-cli-devextreme-icons-throw-the-404-error
推荐阅读
- angular - 如何在 Angular 2 中发送与 onChange 事件对应的值?
- python - 找到第一个最小梯度python
- r - 如何正确记录 R6 自我
- android - 如何从 Genymotion 中提取 android img 文件?
- javascript - 当我尝试在javascript中仅清空“完全填充”的行时,为什么我的板的行会颠倒
- c# - 创建 PowerPoint 图表时额外打开 Excel 应用程序
- javascript - 我无法使用 material-ui 中的自动完成功能
- ansible - Ansible差异过滤器未从具有相同名称的host_vars读取2个参数
- javascript - Eclipse 2021-03:JavaScript 格式化程序设置不起作用
- c# - 列出 Azure 表值