MCPcopy Index your code
hub / github.com/swimlane/ngx-datatable

github.com/swimlane/ngx-datatable @4.2.0 sqlite

repository ↗ · DeepWiki ↗ · release 4.2.0 ↗
1,364 symbols 2,116 edges 249 files 93 documented · 7%
README

ngx-datatable (f.k.a. angular2-data-table)

Join the chat at https://gitter.im/swimlane/ngx-datatable Code Climate Build Status Test Coverage npm version

ngx-datatable is an Angular2 and beyond component for presenting large and complex data. It has all the features you would expect from any other table but in a light package with no external dependencies. The table was designed to be extremely flexible and light; it doesn't make any assumptions about your data or how you: filter, sort or page it.

It was built for modern browsers using TypeScript, CSS3 and HTML5 and Angular >=2.4.0. This is the sister project of the angular-data-table that is designed for Angular 1.x.

Check out the documentation & demos for more information!

Features

  • Handle large data sets ( Virtual DOM )
  • Expressive Header and Cell Templates
  • Horizontal & Vertical Scrolling
  • Column Reordering & Resizing
  • Client/Serve side Pagination & Sorting
  • Intelligent Column Width Algorithms ( Force-fill & Flex-grow )
  • Integrated Pager
  • Cell & Row Selection ( Single, Multi, Keyboard, Checkbox )
  • Fixed AND Fluid height
  • Left and Right Column Pinning
  • Row Detail View
  • Decoupled theme'ing with included Google Material theme
  • Light codebase / No external dependencies
  • AoT Compilation Support

Installation

To use ngx-datatable in your project install it via npm:

npm i @swimlane/ngx-datatable --save

Credits

ngx-datatable is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.

Extension points exported contracts — how you extend this code

Model (Interface)
(no doc)
release/components/body/selection.component.d.ts
ErrorStackTraceLimit (Interface)
(no doc)
src/declarations.d.ts
TableColumn (Interface)
(no doc)
src/types/table-column.type.ts
Model (Interface)
(no doc)
src/components/body/selection.component.ts
AppWindow (Interface)
(no doc)
src/declarations.d.ts
Window (Interface)
(no doc)
src/declarations.d.ts
ErrorConstructor (Interface)
(no doc)
src/declarations.d.ts

Core symbols most depended-on inside this repo

unsubscribe
called by 98
src/directives/orderable.directive.ts
query
called by 35
src/utils/row-height-cache.ts
recalculate
called by 21
src/components/datatable.component.ts
recalcLayout
called by 20
src/components/body/body.component.ts
subscribe
called by 19
release/directives/draggable.directive.ngfactory.ts
recalculateColumns
called by 18
src/components/datatable.component.ts
selectPage
called by 17
src/components/footer/pager.component.ts
calcPages
called by 17
src/components/footer/pager.component.ts

Shape

Method 849
Class 314
Function 182
Enum 12
Interface 7

Languages

TypeScript100%

Modules by API surface

release/components/body/body.component.ngfactory.ts84 symbols
release/index.js77 symbols
release/components/datatable.component.ngfactory.ts72 symbols
release/components/header/header-cell.component.ngfactory.ts61 symbols
release/components/body/body-cell.component.ngfactory.ts58 symbols
release/components/header/header.component.ngfactory.ts57 symbols
release/components/body/body-row-wrapper.component.ngfactory.ts54 symbols
release/components/body/body-row.component.ngfactory.ts50 symbols
release/components/footer/pager.component.ngfactory.ts43 symbols
src/components/datatable.component.ts40 symbols
release/components/footer/footer.component.ngfactory.ts34 symbols
release/components/body/selection.component.ngfactory.ts28 symbols

Dependencies from manifests, versioned

@angular/common2.4.3 · 1×
@angular/compiler2.4.3 · 1×
@angular/compiler-cli2.4.3 · 1×
@angular/core2.4.3 · 1×
@angular/platform-browser2.4.3 · 1×
@angular/platform-browser-dynamic2.4.3 · 1×
@angular/platform-server2.4.3 · 1×
@angularclass/hmr1.2.2 · 1×
@angularclass/hmr-loader3.0.2 · 1×
@types/jasmine2.5.37 · 1×
@types/node6.0.52 · 1×
autoprefixer6.5.4 · 1×

For agents

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

⬇ download graph artifact