Integration with other components

The OverlayPanel component can be integrated with other PrimeNG components as well. For example, the following snapshot shows how to integrate the Overlay component with the DataTable component using ng-template. In this case, the button needs to be placed inside DataTable ng-template and Overlay triggered through the toggle event:

In the preceding snapshot, the Overlay panel is used to display the aggregation information such as marks and percentage in the popup format by clicking on the result button in each row.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.136.84