Bootstrap 4上的Guriddo jqGrid v5.3.0和Font Awesome图标 [英] Guriddo jqGrid v5.3.0 on Bootstrap 4 and Font Awesome Icons
本文介绍了Bootstrap 4上的Guriddo jqGrid v5.3.0和Font Awesome图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
检查最新版本的Guriddo jqGrid v5.3.0是否适合我.由于Bootstrap 4不再具有字形图标,是否可以在jqGrid v5.3.0中使用Font Awesome Icons?如果是,有人可以提供示例代码吗?
Checking if the latest version of Guriddo jqGrid v5.3.0 is the right fit for me. Due to the fact that Bootstrap 4 doesn't have glyphicons anymore, is it possible to use Font Awesome Icons with the jqGrid v5.3.0? If yes, can someone provide a sample code?
谢谢.
推荐答案
只需添加:
$.jgrid.defaults.styleUI = 'Bootstrap4';
$.jgrid.defaults.iconSet = "Iconic";
$.jgrid.defaults.iconSet = "fontAwesome";
之前:
$(#jqGrid").jqGrid({...
$("#jqGrid").jqGrid({...
这篇关于Bootstrap 4上的Guriddo jqGrid v5.3.0和Font Awesome图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文