XML 66 R55.htm IDEA: XBRL DOCUMENT
v3.20.2

Stock-Based Compensation - Summary of Stock-Based Compensation Grants (Detail) | 6 Months Ended
--- | ---
Jun. 30, 2020 $ / shares shares
Time Based Restricted Stock Units [Member] |  |
Stock Awards Granted | shares | 21,689 |
Weighted-Average Grant Price Per Share | $ / shares | $ 99.95 |
Performance Based Restricted Stock Units [Member] |  |
Stock Awards Granted | shares | 38,842 | [1]
Weighted-Average Grant Price Per Share | $ / shares | $ 78.64 | [1]
Stock Appreciation Rights [Member] |  |
Stock Awards Granted | shares | 21,643 |
Weighted-Average Grant Price Per Share | $ / shares | $ 100.30 |
[1] | Includes 26,652 of target performance-based restricted stock unit awards granted during the six months ended June 30, 2020, and adjustments of (2,562), 3,029 and 11,723 to grants due to the actual performance level achieved for restricted stock and restricted stock units awarded in 2019, 2018, and 2017, respectively.

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments granted weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=trex_TimeBasedRestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=trex_PerformanceBasedRestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |