EasyUI Forum

General Category => Bug Report => Topic started by: iceh on August 12, 2014, 01:55:16 AM



Title: Solved! Bug with iconCls in tree - NO EasyUI bug
Post by: iceh on August 12, 2014, 01:55:16 AM
Hi,

i just updatet to 1.4 and I noticed a bug with the tree icons.

I am loading my tree data with a AJAX call. The data is received as JSONr.

I put the data to my tree with:

            tree.tree({ data: data });

However the iconCls is set but ignored by the browser and the default icon is used.

I am adding a screenshot of Chrome with a DOM example.

Edit:

Changing the order of the includes of the CSS did the trick:

"%$ยง%/%" <- some not so nice words on HTML