Data Tables
Data tables organize and display information in a structured manner, allowing for easy sorting, filtering, and analysis. They support efficient data management and clear presentation.
DataTables is a powerful jQuery plugin used to enhance HTML tables with features like pagination, filtering, and sorting. Here's a basic guide to getting started with DataTables:
Step 1: Include DataTables CSS and JS files
You need to include the DataTables CSS and JavaScript files in your HTML file. You can use the following CDN links:
Step 2: Create an HTML table
Create a table in your HTML file. Ensure your table has a header and body:
Name
Position
Office
Age
Start date
Salary
Tiger Nixon
System Architect
Edinburgh
61
2011/04/25
$320,800
Step 3: Initialize DataTables
Once your table is set up, you need to initialize DataTables using jQuery:
Assessment
| ID | Status | Date | Room | External Room Id | Age Group | Staff | Assessor | Agency | Phase | Cycle | Type | Actions |
|---|
Design
Abel Ferro
Twinkle System Designer
CDN
Raul Suarez
DevOps Engineer