Table

Tables for dynamic data; follow the examples closely, including the #cell ref

Contents

Name
Age
Job Title
Salary
Name

Alice

Age

24 years of age

Job Title

Software Engineer

Salary

$88,000.00

Name

Bob

Age

23 years of age

Job Title

Product Manager

Salary

Undisclosed Salary

Name

John

Age

22 years of age

Job Title

Data Scientist

Salary

$98,000.00

Name

Jane

Age

23 years of age

Job Title

Designer

Salary

$108,000.00

Inputs in Mobile view shading
mobileViewShading ?: boolean = false

Adds a shaded color to every second row in mobile view

Also set in this example
dataSource : readonly T[]
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