XML 47 R45.htm IDEA: XBRL DOCUMENT v2.4.1.9
Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail) (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 4,807us-gaap_ShareBasedCompensation $ 3,811us-gaap_ShareBasedCompensation $ 3,469us-gaap_ShareBasedCompensation
Time-Based Restricted Stock [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense 2,974us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= trex_TimeBasedRestrictedStockMember
2,461us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= trex_TimeBasedRestrictedStockMember
2,035us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= trex_TimeBasedRestrictedStockMember
Performance-Based Restricted Stock [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense 727us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= trex_PerformanceBasedRestrictedStockMember
   
Stock Appreciation Rights [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense 1,035us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_StockAppreciationRightsSARSMember
1,251us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_StockAppreciationRightsSARSMember
1,369us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= us-gaap_StockAppreciationRightsSARSMember
Employee Stock Purchase Plan [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 71us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= trex_EmployeeStockPurchasePlanMember
$ 99us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= trex_EmployeeStockPurchasePlanMember
$ 65us-gaap_ShareBasedCompensation
/ us-gaap_AwardTypeAxis
= trex_EmployeeStockPurchasePlanMember