XML 42 R27.htm IDEA: XBRL DOCUMENT
v3.20.1

Prepaid Expenses and Other Assets (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2020
Text Block [Abstract] |
Summary of Prepaid Expenses and Other Assets | Prepaid expenses and other assets consist of the following (in thousands):
|  | March 31, 2020 |  |  | December 31, 2019 |
Prepaid expenses |  | $ | 6,901 |  |  | $ | 8,282 |
Revenues in excess of billings |  |  | 6,247 |  |  |  | 6,664 |
Contract retainage |  |  | 2,273 |  |  |  | 1,832 |
Income tax receivable |  |  | 513 |  |  |  | 2,675 |
Other |  |  | 648 |  |  |  | 350 |
Total prepaid expenses and other assets |  | $ | 16,582 |  |  | $ | 19,803 |

X
- Definition Tabular disclosure pertaining to prepaid expense and other assets current. + References No definition available. + Details
Name: | trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock
Namespace Prefix: | trex_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_TextBlockAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration