Tables for displaying dynamic data
There is some complex template stuff that requires following the examples quite closely to function. Make sure you include everything, especially the #cell ref.
Contents
[paddingSize]="TableColumnPaddingSize.NONE"
Name | Job Title | Salary |
---|---|---|
Name Alice | Job Title Software Engineer | Salary $88,000.00 |
Name Bob | Job Title Product Manager | Salary Undisclosed Salary |
Name John | Job Title Data Scientist | Salary $98,000.00 |
[paddingSize]="TableColumnPaddingSize.SMALL"
Name | Job Title | Salary |
---|---|---|
Name Alice | Job Title Software Engineer | Salary $88,000.00 |
Name Bob | Job Title Product Manager | Salary Undisclosed Salary |
Name John | Job Title Data Scientist | Salary $98,000.00 |
[paddingSize]="TableColumnPaddingSize.MID"
Name | Job Title | Salary |
---|---|---|
Name Alice | Job Title Software Engineer | Salary $88,000.00 |
Name Bob | Job Title Product Manager | Salary Undisclosed Salary |
Name John | Job Title Data Scientist | Salary $98,000.00 |
Expandable
[paddingSize]="TableColumnPaddingSize.NONE"
Name | Job Title | Salary | |
---|---|---|---|
Name Alice | Job Title Software Engineer | Salary $88,000.00 | |
Expandable content goes here | |||
Name Bob | Job Title Product Manager | Salary Undisclosed Salary | |
Expandable content goes here | |||
Name John | Job Title Data Scientist | Salary $98,000.00 | |
Expandable content goes here |
[paddingSize]="TableColumnPaddingSize.SMALL"
Name | Job Title | Salary | |
---|---|---|---|
Name Alice | Job Title Software Engineer | Salary $88,000.00 | |
Expandable content goes here | |||
Name Bob | Job Title Product Manager | Salary Undisclosed Salary | |
Expandable content goes here | |||
Name John | Job Title Data Scientist | Salary $98,000.00 | |
Expandable content goes here |
[paddingSize]="TableColumnPaddingSize.MID"
Name | Job Title | Salary | |
---|---|---|---|
Name Alice | Job Title Software Engineer | Salary $88,000.00 | |
Expandable content goes here | |||
Name Bob | Job Title Product Manager | Salary Undisclosed Salary | |
Expandable content goes here | |||
Name John | Job Title Data Scientist | Salary $98,000.00 | |
Expandable content goes here |
Set pagination component to use compact mode
Allow programmatically expanding the table without showing the chevron icon
Allows showing or hiding of the expandable toggle in mobile screens. Will only have an effect when `expandable` is true
Use with any width input on fl-table-col to fix table layout
Hide table outer box shadow but keep the individual cell box shadow in mobile view
Adds a shaded color to every second row in mobile view
Position applys only for tablet viewport and up
Allow table rows to be links. Currently not supported with `expandable`, `mobileViewCompact` and `calloutContent`.
Only allow expanding one row at a time
The total count of items in the table. Used for when we don't retrieve all records in one go
Emits the index of the currently expanded row - undefined if no row is expanded