Example of Detail Template in Javascript Data Grid Control

/
/
Detail Template

This sample demonstrates the Grid component with the detail template feature. Click the expand button in each Grid row to show the detailed information about a row.

More Details...

Description

The detail row template provides an additional information about a data row which can show or hide by clicking on expand or collapse button. The detailTemplate property accepts either string or HTML element`s ID value, which will be used as the template for the detail row. In this demo, we have presented Employee Information with image in the detail row. The template expression should be provided inside ${...} interpolation syntax. Injecting Module: Grid features are segregated into individual feature-wise modules. To use detail template feature, we need to inject DetailRow using the Grid.Inject(DetailRow) section.