Display Data Table
Displays a data table to a view
Description
Creates a HTML table view.
Properties
Headers
A comma delimited string with the headers for the table. This will make up the <thead> section of the html table
Data
This is the data the table will be created from. This can be an object or an array. In the case of an array the values will be used. In the case of a object the values for each key will be used.
Type
This specifies the type of data that will be used to create the HTML table. This can be an object or an array.
Returns
Returns an HTML table that can be displayed in the console or output to a new window.
Last updated