Appearance and Styling

27 Mar 20181 minute to read

You can customize the look and feel of the tree grid control by applying themes.

The following are the available themes in tree grid control:

  1. Flat Azure                
  2. Flat Azure Dark             
  3. Flat Lime                             
  4. Flat Lime Dark                  
  5. Flat Saffron                       
  6. Flat Saffron Dark
  7. Gradient Azure
  8. Gradient Azure Dark
  9. Gradient Lime
  10. Gradient Lime Dark
  11. Gradient Saffron
  12. Gradient Saffron Dark
  13. Bootstrap

You can apply the theme (Gradient lime) to the tree grid control by using the style sheet from the online link as follows.

  • HTML
  • <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    	<head>
    
    	<title>Getting Started with TreeGrid Control for JavaScript</title>
    
    	<!-- style sheet for default theme(gradient lime) -->
    	<link href=" http://cdn.syncfusion.com/24.2.3/js/web/flat-azure/ej.web.all.min.css" rel="stylesheet">
    
    	//...	
    	</head>
    	
    </html>

    The following screenshot shows the tree grid control with Gradient lime theme.