MCPcopy Index your code
hub / github.com/grid-js/gridjs

github.com/grid-js/gridjs @6.2.0 sqlite

repository ↗ · DeepWiki ↗ · release 6.2.0 ↗
310 symbols 676 edges 140 files 29 documented · 9% 1 cross-repo links
README

Grid.js

All Contributors

<a href="https://gridjs.io" target="_blank">
    <img src="https://gridjs.io/img/logo/text_large.png" height="200" alt="Grid.js" />
</a>

Advanced table plugin

A table library that works everywhere

  • Simple and lightweight implementation
  • No vendor lock-in. Grid.js can be used with any JavaScript frameworks (React, Angular, Preact or VanillaJS)
  • Written in TypeScript
  • Supports all modern browsers and IE11+

Example

new Grid({
  data: [
    ['Mike', 33, 'mike@murphy.com'],
    ['John', 82, 'john@conway.com'],
    ['Sara', 26, 'sara@keegan.com']
  ],
  columns: ['Name', 'Age', 'Email']
}).render(document.getElementById('wrapper'));

Piece of :cake:

Getting Started

Documentation :book:

Full documentation of Grid.js installation, config, API and examples are available on Grid.js website grid.js/docs.

Community

  • Join our Discord channel
  • Take a look at gridjs tag on StackOverflow or ask your own question!
  • Read our blog for the latest updates and announcements
  • Follow our Twitter account @grid_js

Contributors ✨

Afshin Mehrabani 💻 📖 Daniel Sieradski 🔌 Salama Ashoush 🔌 Daniel Werner 🔌 Aloysb 💻 📖

License

MIT

Extension points exported contracts — how you extend this code

Plugin (Interface)
(no doc)
src/plugin.ts
Config (Interface)
(no doc)
src/config.ts
TColumn (Interface)
(no doc)
src/types.ts
StorageResponse (Interface)
(no doc)
src/storage/storage.ts
HTMLContentProps (Interface)
(no doc)
src/view/htmlElement.tsx
PipelineEvents (Interface)
(no doc)
src/pipeline/pipeline.ts
EventEmitter (Interface)
(no doc)
src/util/eventEmitter.ts
DummyConfig (Interface)
(no doc)
tests/jest/plugin.test.tsx

Core symbols most depended-on inside this repo

process
called by 41
src/pipeline/pipeline.ts
className
called by 38
src/util/className.ts
on
called by 35
src/util/eventEmitter.ts
register
called by 32
src/pipeline/pipeline.ts
update
called by 30
src/cell.ts
classJoin
called by 30
src/util/className.ts
flushPromises
called by 25
tests/jest/testUtil.ts
createFromConfig
called by 24
src/header.ts

Shape

Method 116
Function 94
Class 66
Interface 31
Enum 3

Languages

TypeScript100%

Modules by API surface

src/pipeline/pipeline.ts17 symbols
src/header.ts16 symbols
tests/jest/pipeline/pipeline.test.ts13 symbols
src/plugin.ts10 symbols
src/util/eventEmitter.ts9 symbols
src/view/plugin/sort/sort.tsx8 symbols
src/tabular.ts8 symbols
src/row.ts8 symbols
src/pipeline/sort/native.ts8 symbols
src/pipeline/processor.ts8 symbols
src/grid.ts8 symbols
src/config.ts8 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@types/enzyme3.10.12 · 1×
@types/jest29.2.4 · 1×
@types/jest-axe3.5.5 · 1×
@types/node18.11.17 · 1×
@typescript-eslint/eslint-plugin5.47.0 · 1×
autoprefixer10.4.8 · 1×
axe-core4.4.2 · 1×
check-export-map1.1.1 · 1×
cssnano5.0.5 · 1×
cypress8.1.0 · 1×
cypress-visual-regression1.5.7 · 1×

For agents

$ claude mcp add gridjs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact