Action Table

screenshot of Action Table
vite

Native HTML web component for easily adding sorting and filtering functionality to tables.

Overview

The Action Table Web Component is a powerful tool designed to enhance HTML tables with built-in sorting and filtering capabilities. Unlike many other web components, it does not utilize Shadow DOM, which makes it easier to integrate and style within existing projects. This component provides a clear solution for developers looking to create dynamic, user-friendly data tables without the complexity often associated with similar features.

With a series of installation options and customization possibilities, Action Table is tailored for flexibility. The component enables automatic sorting of table columns and supports public filtering functions, ensuring that your data is presented in an accessible and organized manner.

Features

  • Automatic Sorting: Headers in the <thead> of your table become sortable with no extra configuration needed, making data interaction straightforward for users.

  • Custom CSS Styling: An optional stylesheet is provided, allowing for easy overrides or complete customization to match your project's aesthetic.

  • Content Editable Cells: Enables users to directly edit table cells, with changes being automatically updated in the table.

  • Accessibility Support: Implements aria-sort attributes for screen readers and adds visual cues for sorted columns, ensuring compliance with accessibility standards.

  • Local Storage Support: By using the store attribute, Action Table can retain sorting and filtering states in localStorage, enhancing user experience across page reloads.

  • Pagination Feature: The component includes pagination options, allowing users to adjust the number of displayed rows for better navigation through large datasets.

  • Filter Functionality: Custom filters can be integrated, providing users with the ability to effectively search and filter data based on defined criteria.

  • Flexible Integration: The component supports various installation methods, including direct use via CDN or local NPM installation, catering to diverse development environments.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.