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

Conditional Formatting

 
Department
Location
Budget
Phone
CollapseCorporate HeadquartersMonterey$1,000,000.00(408) 555-1234
 CollapseSales and MarketingSan Francisco$22,000.00(415) 555-1234
   Field Office: CanadaToronto$500,000.00(416) 677-1000
   Field Office: East CoastBoston$500,000.00(617) 555-4234
  CollapsePacific Rim HeadquartersKuaui$600,000.00(808) 555-1234
    Field Office: SingaporeSingapore$300,000.00(606) 555-5486
    Field Office: JapanTokyo$500,000.00(707) 555-1526
   MarketingSan Francisco$1,500,000.00(415) 555-1234
  FinanceMonterey$40,000.00(408) 555-1234
 CollapseEngineeringMonterey$1,100,000.00(408) 555-1234
  CollapseConsumer Electronics Div.Burlington, VT$1,150,000.00(802) 555-1234
    Software DevelopmentMonterey$40,000.00(408) 555-1234
  CollapseSoftware Products Div.Monterey$1,200,000.00(408) 555-1234
    Quality AssuranceMonterey$48,000.00(408) 555-1234
    Customer SupportMonterey$38,000.00(408) 555-1234
    Research and DevelopmentBurlington, VT$460,000.00(802) 555-1234
    Customer ServicesBurlington, VT$850,000.00(802) 555-1234


The TreeList extension enables you to provide custom style settings used to paint individual data cells or entire nodes depending upon the contents of the TreeList. To do this, you should handle the HtmlDataCellPrepared or HtmlRowPrepared events, respectively. This gives you unlimited capabilities to flag data as needed.

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