Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Select
Custom Inputs
Components
Navigation
Components
69
Micro Charts
Libraries
Kanban Board
Image Designer
Video Player
Visual Builder
Content Editor
Data View
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Purchase

Table

Table is for static or simple template-defined tabular data where the columns are known in Angular code. Use it for predictable read-only tables, documentation tables, settings summaries, lightweight admin tables, and small local datasets. Use DataView instead when users need richer operational dataset behavior such as column management, advanced data operations, saved views, or a full admin grid.

PropTypeDefault
hideHeader
Whether to hide the table header
booleanfalse
hideBody
Whether to hide the table body
booleanfalse
hideFooter
Whether to hide the table footer
booleanfalse
dataSource
The data to be displayed in the table
T[] | DataSource<T> | Observable<T[]>
trackBy
Tracking function that will be used to check the differences in data changes
TrackByFunction<T>
fixedLayout
Whether the table should use a fixed layout
booleanfalse

Column Definition

PropTypeDefault
ngsColumnDef
Unique name for this column.
string-
sticky
Whether the column is sticky
booleanfalse
stickyEnd
Whether the column is sticky at the end
booleanfalse

Row Definition

PropTypeDefault
ngsRowDefColumns
The columns to be displayed in this row
string[]-