Find React Code Prettify Examples and Templates
Use this online react-code-prettify playground to view and fork react-code-prettify example apps and templates on CodeSandbox. Click any example below to run it instantly or find templates that can be used as a pre-built solution!

Multi-Level Headers (Bands) - DevExtreme Data Grid (forked)Our DataGrid component allows you to group multiple columns under one header (band). This demo shows an example: the "Nominal GDP" and "Population" bands have banded columns.
You can drag one of the bands across the grid to reorder all its banded columns simultaneously. You can also move the band to the column chooser and hide the banded columns. Banded columns remain interactive.
To create the banded layout, do one of the following:
Assign a hierarchical structure to the columns property. The code in this demo is an example.
Implement a customizeColumns function where you should specify the ownerBand and isBand column properties. Refer to the isBand description for a code sample.

Multi-Level Headers (Bands) - DevExtreme Data Grid (forked)Our DataGrid component allows you to group multiple columns under one header (band). This demo shows an example: the "Nominal GDP" and "Population" bands have banded columns.
You can drag one of the bands across the grid to reorder all its banded columns simultaneously. You can also move the band to the column chooser and hide the banded columns. Banded columns remain interactive.
To create the banded layout, do one of the following:
Assign a hierarchical structure to the columns property. The code in this demo is an example.
Implement a customizeColumns function where you should specify the ownerBand and isBand column properties. Refer to the isBand description for a code sample.