Back to Data tables-guidelines

JavaScriptThe latest version of this package is: 0.18.6, Opens in new window

Data tables javascript

This component is compatible with ESM (ES6 module) and IIFE. See documentation examples below.

To be able to install this component, please refer to the Project Setup documentation.

$ npm i @ids-js/data-tables@0.18.6

Table of Contents

Features

See the CSS Documentation for this component for required markup for each feature.

  • Sortable tables
  • Initialises bulk actions
  • Initialises expandable tables
  • Initialises filter search
  • Initialises table cell currency formatter
  • Initialises table filters
  • Initialises row actions

Usage

Install

  $ npm i @ids-js/data-tables

Required markup

See the CSS Documentation for required markup for the JavaScript library.

Init

import idsDataDables from '@ids-js/data-tables';

const tables = document.querySelectorAll('.if.data-tables');

Array.prototype.slice.call(tables).forEach(idsDataDables);

Changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.17.6 (2022-03-09)

Bug Fixes

  • Add classnames correctly (7467c8a)

0.17.0 (2021-10-21)

Code Refactoring

  • ๐Ÿ’ก Remove support for CommonJS (9f84d9a)

BREAKING CHANGES

  • ๐Ÿงจ We have removed the support for CommonJS for all @ids-js packages

0.16.1 (2021-10-21)

Bug Fixes

  • Use common for cjs and main for esm (96f673d)

0.10.0 (2021-09-30)

Bug Fixes

  • Use correct import path (ea77437)

Features

  • ๐ŸŽธ Add Data Tables (fb7eaaf)

0.6.0 (2020-11-12)

Features

  • ๐ŸŽธ Add common, data-tables and tag js (b65169e)

0.5.0 (2020-11-11)

Contact us, Opens in new window