开发者

Extjs4 iconCls can't display in symfony

开发者 https://www.devze.com 2023-04-08 18:29 出处:网络
I have a project which use Extjs4 and symfony. I put extJS source code in symonfy\'s web/js folder and web/css.

I have a project which use Extjs4 and symfony.

I put extJS source code in symonfy's web/js folder and web/css.

So i can load extjs like :

 <?php
    开发者_StackOverflow社区  use_stylesheet('ext/resources/css/ext-all.css');
 ?>

I created a formpanel and config the iconCls: 'icon-add' but it doesn't work in the page,the icon can't display.


Could you test inside firebug and try to see what ressource symfony / extJS is trying to load, you'll maybe have a network error or something like that.

How do you declare your icon-add css class?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号