Table

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.
Expandable table on all screens
Date
Project Name
Status
Amount
16/08/1973
Build a website
Released
200
Transaction ID
12345123434
Transaction Date
16/08/1973
Project Name
Build a website
Project Description
This is a description that will only show up on expand
16/08/1973
Design a website abc
Released
10
Transaction ID
34534534534
Transaction Date
16/08/1973
Project Name
Design a website abc
Project Description
This is a description that will only show up on expand
16/08/1973
Project for freelancer
Released
30
Transaction ID
675756756756
Transaction Date
16/08/1973
Project Name
Project for freelancer
Project Description
This is a description that will only show up on expand
Non-expandable table on mobile
Date
Project Name
Status
Amount
Date
16/08/1973
Project Name
Build a website
Status
Released
Amount
200
Transaction ID
12345123434
Transaction Date
16/08/1973
Project Name
Build a website
Project Description
This is a description that will only show up on expand
Date
16/08/1973
Project Name
Design a website abc
Status
Released
Amount
10
Transaction ID
34534534534
Transaction Date
16/08/1973
Project Name
Design a website abc
Project Description
This is a description that will only show up on expand
Date
16/08/1973
Project Name
Project for freelancer
Status
Released
Amount
30
Transaction ID
675756756756
Transaction Date
16/08/1973
Project Name
Project for freelancer
Project Description
This is a description that will only show up on expand
Inputs
dataSource : readonly T[]
border ?: boolean = true
compactPagination ?: boolean = false
Set pagination component to use compact mode
customExpandable ?: boolean = false
Allow programmatically expanding the table without showing the chevron icon
edgeToEdge ?: boolean = false
expandable ?: boolean = false
expandableBodyCompact ?: boolean = false
expandableMobileEnabled ?: boolean = true
Allows showing or hiding of the expandable toggle in mobile screens. Will only have an effect when `expandable` is true
fixedLayout ?: boolean = false
Use with any width input on fl-table-col to fix table layout
headerColor ?: TableHeaderColor = TableHeaderColor.DEFAULT
headerWidth ?: HeaderWidth = HeaderWidth.SMALL
hideBoxShadow ?: boolean = false
Hide table outer box shadow but keep the individual cell box shadow in mobile view
hideHeader ?: boolean = false
hover ?: boolean = false
initialPage ?: number = 1
itemsPerPage ?: number = Number.POSITIVE_INFINITY
mobileViewCompact ?: TableMobileStyle
mobileViewShading ?: boolean = false
Adds a shaded color to every second row in mobile view
paddingSize ?: TableColumnPaddingSize = TableColumnPaddingSize.MID
paddingSizeDesktop ?: TableColumnPaddingSize
paddingSizeTablet ?: TableColumnPaddingSize
paginationPosition ?: TablePaginationPosition = TablePaginationPosition.CENTER
Position applys only for tablet viewport and up
responsive ?: boolean = true
rowLinks ?: boolean = false
Allow table rows to be links. Currently not supported with `expandable`, `mobileViewCompact` and `calloutContent`.
rowTrackBy ?: TrackByFunction<T>
singleExpandable ?: boolean = false
Only allow expanding one row at a time
totalCount ?: number
The total count of items in the table. Used for when we don't retrieve all records in one go
Outputs
pageSelected ?: any = new EventEmitter<number>()
rowExpanded ?: any = new EventEmitter<number | undefined>()
Emits the index of the currently expanded row - undefined if no row is expanded
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.