Add a sortable and searchable data table to a React app with a few lines of code and no framework-specific wrapper.
Display a large list of records in a paginated table on a plain HTML page without installing any framework.
Replace a manually built HTML table with a Grid.js table that supports column sorting and live filtering out of the box.
Embed a data table into an Angular or Preact project using the same Grid.js library without switching tools.
Grid.js is a JavaScript library for displaying data in a table on a webpage. It handles the common tasks you would want from a data table: sorting rows by column, filtering results, paginating through large sets of records, and rendering the table inside whatever JavaScript framework you are already using. The README describes it as framework-agnostic, meaning you can drop it into a project built with React, Angular, Preact, or plain JavaScript without needing a framework-specific wrapper. The basic usage shown in the README is concise: you pass an array of data rows and a list of column names, call render with a reference to a page element, and the table appears. The library is written in TypeScript, which means it comes with type definitions that editors can use to catch mistakes as you write code. The README is short and points to an external documentation site for the full list of configuration options, installation instructions, and working examples. The project has an MIT license and a small community around it, with a Discord channel and a Stack Overflow tag for questions.
← grid-js on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.