Data Table

Powerful table and datagrids similar powered by TanStack Table

Status
Amount
success
ken99@yahoo.com
$316.00
success
Abe45@gmail.com
$242.00
processing
Monserrat44@gmail.com
$837.00
success
Silas22@gmail.com
$874.00
failed
carmella@hotmail.com
$721.00
0 of 5 row(s) selected

About

Data-Table is built on top of TanStack-Table by @tannerlinsley and the Table directives.

Installation

Add the Table directives to your project.

ng g @spartan-ng/cli:ui table

Add @tanstack/angular-table to your project. This guide uses TanStack Table v9.

npm install @tanstack/angular-table

Examples

For more information you can check out our Tasks example and have a look at the documentation of TanStack Table . TanStack Table provides multiple examples on GitHub and interactive examples on the documentation site. These examples are unstyled and can be used as a foundation for your own implementations using the Table directives to apply consistent styling. Here are some examples to get you started:

  • Basic - A basic table example with multiple columns
  • Column Visibility - An example of how to implement column visibility
  • Column Filters - An example of how to implement column filters
  • Row Selection - An example of how to implement row selection

RTL

To enable RTL support in spartan-ng, see the RTL configuration guide.

قائمة بمدفوعاتك الأخيرة.
العميلالحالةالمبلغ
ken99@example.comناجح$316.00
abe45@example.comقيد المعالجة$242.00
monserrat44@example.comفشل$837.00
carmella@example.comناجح$721.00
المجموع$1,250.00
Date Picker Context Menu