Tables your userscan actually work with

Your toolkit for complex data grids

Themed withQDS out of the box

Tables are built on the Qualcomm Design System, with light and dark themes for each Qualcomm brand.
Qualcomm Design System Gen 3.0Qualcomm Design System Gen 3.0

Packed with features

Pagination, row pinning, row selection, sorting, and filtering in a single table. Each feature is isolated: use as many or as few as you need.
Pin
Username
Role
Account Status
Account Created On
Last Visited At
Visit Count
Sigurd_Rohan
user active 20 Mar 2025 22:56:30 PDT 27 Oct 2025 07:12:13 PDT 2
Amina.Batz
admin pending 04 Jun 2024 23:07:35 PDT 21 Aug 2024 06:46:37 PDT 7
Ignacio.Wilkinson42
admin suspended 02 Oct 2024 18:30:52 PDT 26 Jul 2025 07:47:12 PDT 319
Kendrick.Koss
user suspended 26 Apr 2025 16:13:14 PDT 24 Jul 2025 15:36:47 PDT 51
Nina.Nitzsche
admin suspended 18 Jun 2025 11:38:52 PDT 02 Aug 2025 18:45:30 PDT 59
Jennings.Rosenbaum38
admin pending 17 Mar 2025 08:52:32 PDT 02 Oct 2025 15:35:22 PDT 5
Frederic.Bernier
admin active 23 Oct 2024 20:44:09 PDT 06 Sep 2025 15:32:39 PDT 2
Isadore.Steuber98
admin active 03 Jan 2025 00:29:37 PDT 05 Mar 2025 05:59:39 PDT 2
Pearline_Durgan28
admin active 12 Nov 2024 12:35:50 PDT 05 Mar 2025 14:39:42 PDT 93
Gia.Padberg
user active 16 Oct 2025 12:03:33 PDT 18 Oct 2025 06:28:44 PDT 2
import {Component, inject, signal} from "@angular/core"
import {FormsModule} from "@angular/forms"
import {LucideSearch} from "@lucide/angular"

import {provideIcons} from "@qualcomm-ui/angular-core/lucide"
import {PaginationModule} from "@qualcomm-ui/angular/pagination"
import {
  type AngularTable,
  createAngularTable,
  createTablePagination,
  TableModule,
} from "@qualcomm-ui/angular/table"
import {TextInputModule} from "@qualcomm-ui/angular/text-input"
import {
  getCoreRowModel,
  getExpandedRowModel,
  getFilteredRowModel,
  getPaginationRowModel,
  getSortedRowModel,
  type Row,
} from "@qualcomm-ui/core/table"

import {ColumnFilter} from "./column-filter"
import {createUserQuery, type User, userColumns} from "./data"
import {RowPinningService} from "./row-pinning.service"

@Component({
  imports: [
    ColumnFilter,
    FormsModule,
    PaginationModule,
    TableModule,
    TextInputModule,
  ],
  providers: [provideIcons({LucideSearch}), RowPinningService],
  selector: "kitchen-sink-demo",
  template: `
    <div class="mt-4" q-table-root>
      <div q-table-action-bar>
        <q-text-input
          aria-label="Filter rows"
          class="w-56"
          placeholder="Global Filter"
          startIcon="Search"
          [(ngModel)]="globalFilter"
        />
      </div>
      <div q-table-scroll-container>
        <table q-table-table>
          <thead q-table-header>
            @for (
              headerGroup of table.getHeaderGroups();
              track headerGroup.id
            ) {
              <tr q-table-row>
                @for (header of headerGroup.headers; track header.id) {
                  <th
                    q-table-header-cell
                    [attr.colspan]="header.colSpan"
                    [style.min-width.px]="header.column.columnDef.minSize"
                  >
                    @if (!header.isPlaceholder) {
                      <div class="inline-flex flex-col gap-1">
                        <div
                          class="inline-flex min-h-[28px] items-center justify-center"
                        >
                          <div class="inline-flex items-center gap-2">
                            <ng-container *renderHeader="header; let value">
                              {{ value }}
                            </ng-container>
                            @if (header.column.getCanSort()) {
                              <button
                                q-table-column-sort-action
                                [header]="header"
                                [isSorted]="header.column.getIsSorted()"
                              ></button>
                            }
                          </div>
                        </div>
                        @if (header.column.getCanFilter()) {
                          <app-column-filter
                            [column]="header.column"
                            [table]="table()"
                          />
                        }
                      </div>
                    }
                  </th>
                }
              </tr>
            }
          </thead>
          <tbody q-table-body>
            @for (row of table.getTopRows(); track row.id) {
              <tr
                class="sticky"
                q-table-row
                [isSelected]="true"
                [style.top.px]="getPinnedRowTop(row)"
              >
                @for (cell of row.getVisibleCells(); track cell.id) {
                  <td q-table-cell>
                    <ng-container *renderCell="cell; let value">
                      {{ value }}
                    </ng-container>
                  </td>
                }
              </tr>
            }
            @for (row of table.getCenterRows(); track row.id) {
              <tr q-table-row [isSelected]="row.getIsSelected()">
                @for (cell of row.getVisibleCells(); track cell.id) {
                  <td
                    q-table-cell
                    [style.min-width.px]="cell.column.columnDef.minSize"
                  >
                    <ng-container *renderCell="cell; let value">
                      {{ value }}
                    </ng-container>
                  </td>
                }
              </tr>
            }
            @for (row of table.getBottomRows(); track row.id) {
              <tr
                class="sticky"
                q-table-row
                [isSelected]="true"
                [style.bottom.px]="getPinnedRowBottom(row)"
              >
                @for (cell of row.getVisibleCells(); track cell.id) {
                  <td q-table-cell>
                    <ng-container *renderCell="cell; let value">
                      {{ value }}
                    </ng-container>
                  </td>
                }
              </tr>
            }
          </tbody>
        </table>
      </div>
      <div
        q-table-pagination
        [count]="pagination.count()"
        [page]="pagination.page()"
        [pageSize]="pagination.pageSize()"
        (pageChanged)="pagination.onPageChange($event)"
      >
        <div *paginationContext="let context" q-pagination-page-metadata>
          @let meta = context.pageMetadata;
          {{ meta.pageStart }}-{{ meta.pageEnd }} of {{ meta.count }} results
        </div>

        <div q-pagination-page-buttons></div>
      </div>
    </div>
  `,
})
export class KitchenSinkDemo {
  protected readonly query = createUserQuery(1000, 2, 2)
  protected readonly rowPinningService = inject(RowPinningService)
  readonly globalFilter = signal<string>("")

  protected table: AngularTable<User> = createAngularTable(() => ({
    columns: userColumns,
    data: this.query.data() || [],
    getCoreRowModel: getCoreRowModel(),
    getExpandedRowModel: getExpandedRowModel(),
    getFilteredRowModel: getFilteredRowModel(),
    getPaginationRowModel: getPaginationRowModel(),
    getSortedRowModel: getSortedRowModel(),
    getSubRows: (row: User) => row.subRows,
    keepPinnedRows: this.rowPinningService.keepPinnedRows(),
    sortDescFirst: true,
    state: {
      globalFilter: this.globalFilter(),
    },
  }))

  protected pagination = createTablePagination(this.table)

  /**
   * Pinned rows stack below the sticky header (48px), one row height (26px)
   * apart.
   */
  protected getPinnedRowTop(row: Row<User>): number {
    return row.getPinnedIndex() * 26 + 48
  }

  protected getPinnedRowBottom(row: Row<User>): number {
    return (this.table.getBottomRows().length - 1 - row.getPinnedIndex()) * 26
  }
}
Demo data is generated with faker-js. None of the data is real.