OK. Spoke too soon.
"types": {
"default": {
"icon": "david-sprite david-folder"
},
"file": {
"icon": "david-sprite david-file"
}
},
"plugins": ["types"]
to the tree config object.
I defined these CSS rules:
.david-sprite {
background-image: url("d.png");
}
.david-folder {
background-position: -54px -36px
}
.david-file {
background-position: -72px -36px;
}
and the JSON data has a type property set, the icons do not appear.
When I inspect the <i> element with Firebug, the class property is set to:
jstree-icon jstree-themeicon david-sprite jstree-themeicon-custom
Am I configuring the types plugin wrong, or am I defining the CSS class wrong?
David