imageCssClassField : stringDefault: 'imageCssClass'

Image css class field name.

Examples

Default Name

    
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         uiLibrary: 'bootstrap',
         dataSource: [ { text: 'folder', imageCssClass: 'glyphicon glyphicon-folder-close', children: [ { text: 'file', imageCssClass: 'glyphicon glyphicon-file' } ] } ]
     });
 </script>

  

Custom Name

    
 <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         imageCssClassField: 'faCssClass',
         dataSource: [ { text: 'folder', faCssClass: 'fa fa-folder', children: [ { text: 'file', faCssClass: 'fa fa-file' } ] } ]
     });
 </script>