简体   繁体   English

Primeng:PickList不显示按钮图标

[英]Primeng : PickList not showing button icons

i am using picklist in my application but it seems that button icons that is for moving data item from source to target, that icons of arrow is not getting display in my page. 我在我的应用程序中使用了选择列表,但是似乎用于将数据项从源移动到目标的按钮图标没有显示在我的页面中。 it just shows blank buttons. 它只显示空白按钮。 if you select item and clicks on any button it will work as expected but icons are not getting displayed. 如果您选择项目并单击任何按钮,它将按预期工作,但不会显示图标。

<p-pickList [source]="availableColumns" [target]="usedColumns" sourceHeader="Available" targetHeader="Used" [responsive]="true" [sourceStyle]="{'height':'300px'}" [targetStyle]="{'height':'300px'}">
                            <template let-col pTemplate="item">
                                <div class="ui-helper-clearfix">                                
                                    <div style="font-size:14px;margin:5px 5px 0 0">{{col.header}}</div>
                                </div>
                            </template>
                        </p-pickList>

I m not getting any error on my console. 我的控制台上没有任何错误。

这是我的截图

您是否将font-awesome添加到项目中,因为primeng对图标使用了font-awesome。

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

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