Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Exporting Data

  • Export to PDF
  • Export to XLS
  • Export to XLSX
  • Export to DOCX
  • Export to RTF
  •  
    ...
 
Department
Budget
Location
Phone
CollapseCorporate Headquarters$1,000,000.00Monterey(408) 555-1234
 CollapseSales and Marketing$22,000.00San Francisco(415) 555-1234
   Field Office: Canada$500,000.00Toronto(416) 677-1000
   Field Office: East Coast$500,000.00Boston(617) 555-4234
  ExpandPacific Rim Headquarters$600,000.00Kuaui(808) 555-1234
   Marketing$1,500,000.00San Francisco(415) 555-1234
   Count=6$3,900,000.00  
  Finance$40,000.00Monterey(408) 555-1234
 CollapseEngineering$1,100,000.00Monterey(408) 555-1234
  ExpandConsumer Electronics Div.$1,150,000.00Burlington, VT(802) 555-1234
  ExpandSoftware Products Div.$1,200,000.00Monterey(408) 555-1234
   Count=7$3,786,000.00  
  Count=16$8,848,000.00  
 Count=17$9,848,000.00  


The TreeList extension allows you to export data to a file or stream in the following formats:

In this demo, use the following properties to specify the tree list's export settings:

  • ShowTreeButtons - Specifies whether the tree list buttons are displayed in an exported document.
  • ExpandAllNodes - Controls whether the tree list should be exported with all its nodes expanded regardless of their current expanded state.
  • AutoWidth - Automatically resizes the tree list to fit the printed page.
Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxTreeListDemos