This sample demonstrates the different options to print the hierarchy Grid. Select the hierarchy grid's print mode in the toobar and click the print button from the grids's toolbar item to print Grid.
The Grid can be printed using the
property value as
currentpage. The child grid allows us to print the grid with following options,
Expanded- Prints the master grid with expanded child grids.
All- Prints the master grid with all the child grids.
None- Prints the master grid alone.
We can change the child grid's print option by using the
In this demo, we have set the hierarchyPrintMode as
All. You can change the hierarchy grid's print mode by selecting the toolbar and click the print icon to print the Grid.
Grid features are segregated into individual feature-wise modules,
To use Hierarchy Grid feature, we need to inject
DetailRow module into the
More information on the print feature can be found in this documentation section.