iconsLibrary : (materialicons|fontawesome|glyphicons)Default: 'materialicons'

The name of the icons library that is going to be in use. Currently we support Material Icons, Font Awesome and Glyphicons.

If you use Bootstrap 3 as uiLibrary, then the iconsLibrary is set to Glyphicons by default.
If you use Material Design as uiLibrary, then the iconsLibrary is set to Material Icons by default.
The css files for Material Icons, Font Awesome or Glyphicons should be manually included to the page where the grid is in use.

Examples

Base Theme Material Icons

    
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         dataSource: '/Locations/Get',
         width: 500,
         iconsLibrary: 'materialicons'
     });
 </script>

  

Bootstrap 4 Font Awesome

    
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         dataSource: '/Locations/Get',
         width: 500,
         uiLibrary: 'bootstrap4',
         iconsLibrary: 'fontawesome',
         checkboxes: true
     });
 </script>

  

Bootstrap 5 Font Awesome

    
 <div id="tree"></div>
 <script>
     var tree = $('#tree').tree({
         dataSource: '/Locations/Get',
         width: 500,
         uiLibrary: 'bootstrap5',
         iconsLibrary: 'fontawesome',
         checkboxes: true
     });
 </script>