I currently have a working fancytree that is using the Windows 7 skin css, but the rest of my application is based on the Bootstrap style. I am having trouble implementing the bootstrap skin to Fancytree. When I do (by replacing my win7 css file with the Bootstrap css file) my fancytree works, but it presents no icons for folders, checkboxes, etc. It's entirely blank space. The same thing happens for the other skins that are independent from a .gif image for the icons (bootstrap-n and awesome)
How do I go about implementing these skins? Am I missing something?
If it matters at all, I am using extensions: ["contextMenu", "dnd", "edit"]
Edit: Upon further tests I started to notice that when I refresh my page to see if any changes took effect, I see an icon on my tree for a split second before it loads. I managed to take a screenshot, but I don't think it's a bootstrap icon.
Maybe it's misaligned? Also, what can cause it to disappear? The way it behaves makes me think that it's overridden by background: none
or something of the like, but the class of the <span>
that the icon shows up in is fancytree-icon
, and the only css available for that class is in my bootrap skin's css file, and I don't see any overriding happening there.
In order to use the bootstrap, font-awesome, and other glyph based themes, you should also include the
ext-glyph
extension.Example here: http://wwwendt.de/tech/fancytree/demo/index.html#sample-ext-bootstrap.html