MCPcopy Index your code
hub / github.com/esvit/ng-table

github.com/esvit/ng-table @v4.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.0.0 ↗ · + Follow
655 symbols 1,882 edges 107 files 40 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Table + AngularJS

Build Status Coverage Status semantic-release

Code licensed under New BSD License.

This directive enhances your HTML tables. It support sorting, filtering and pagination. Header row with titles and filters automatic generated.

Installing

NPM

Install the current stable release:

npm install ng-table --save

Or install the latest beta release:

npm install ng-table@next --save

CDN

You can download the distribution files directly from unpkg

Bower: NO LONGER SUPPORTED

Getting started

Please follow the getting started steps here

Examples

Using Typescript?

As of v2.0.0 ngTable is written in typescript and so you do NOT have to install external type declarations for this library.

By installing the ng-table package from npm, you will get typescript intellisense for all ng-table exported types.

WARNING:. The type definitions on DefinitelyTyped are depreciated.

Upgrading from an earlier version?

Upgrade from 0.8.3

It's recommended to upgrade in two jumps:

  1. Upgrade to version 1.0.0-beta.9, making any changes to your application code neccessary to work with this version
    • EG: bower install ng-table#1.0.0-beta.9 --save
  2. Refactor your application to remove any code that depended on depreciated behaviours that where removed in the 1.0.0 release
  3. Install 1.0.0 (should now be a drop in replacement for 1.0.0-beta.9)
    • Bower: bower install ng-table#1.0.0 --save
    • NPM: npm i ng-table@1.0.0 --save

Upgrade from version earlier than 0.8.3

It's recommended to upgrade in three jumps:

  1. Upgrade to version 0.8.3, making any changes to your application code neccessary to work with this version
    • EG: bower install ng-table#0.8.3 --save
  2. Follow the guide above to upgrade from 0.8.3 -> 1.0.0-beta.9 -> 1.0.0

Tips * Read the notes in github releases. Each release details the breaking changes and migration guidance

Compatibility

For work in IE < 9 need jQuery, just add:


Building from sources

  1. Clone: git clone https://github.com/esvit/ng-table.git
  2. Install: npm install
  3. Build: npm run build:full

  4. To locally build and serve docs site: npm run doc && npm run serve:docs-site

  5. To locally serve the demo: npm run serve:demo

Want to contribute?

See the contributing guidelines.


This project is part of Bazalt CMS.

Extension points exported contracts — how you extend this code

InputAttributes (Interface)
* @private
src/browser/ngTableColumnsBinding.directive.ts
DefaultGetData (Interface)
(no doc) [1 implementers]
src/core/data/ngTableDefaultGetData.ts
CustomEqualityTesterFixed (Interface)
(no doc)
test/custom-typings/jasmine-type-fixes.d.ts
ScopeWithPrivates (Interface)
(no doc)
test/specs/tableParams.spec.ts
InitializedClass (Interface)
(no doc)
src/shared/check-class-init.ts
Person (Interface)
(no doc)
demo-apps/ts-webpack/src/grouped-table/grouped-table.component.ts
ScopeExtensions (Interface)
(no doc) [1 implementers]
src/browser/ngTable.directive.ts
Defaults (Interface)
(no doc)
src/core/ngTableDefaults.ts

Core symbols most depended-on inside this repo

filter
called by 103
src/core/ngTableParams.ts
settings
called by 92
src/core/ngTableParams.ts
reload
called by 77
src/core/ngTableParams.ts
group
called by 40
src/core/ngTableParams.ts
count
called by 37
src/core/ngTableParams.ts
assign
called by 36
src/browser/public-interfaces.ts
getOwn
called by 28
examples-old/js/require.js
hasGroup
called by 28
src/core/ngTableParams.ts

Shape

Function 403
Method 122
Interface 66
Class 64

Languages

TypeScript100%

Modules by API surface

examples-old/js/angular.min.js180 symbols
examples-old/js/jquery-1.9.1.min.js71 symbols
src/core/ngTableParams.ts35 symbols
examples-old/js/require.js34 symbols
src/core/ngTableEventsChannel.ts30 symbols
examples-old/js/angular-mocks.js19 symbols
src/browser/ngTableController.ts18 symbols
src/core/data/ngTableDefaultGetData.ts15 symbols
src/browser/ngTableGroupRowController.ts14 symbols
test/specs/tableParams.spec.ts12 symbols
test/specs/tableDynamic.spec.ts12 symbols
src/browser/public-interfaces.ts12 symbols

For agents

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

⬇ download graph artifact