UI Grid: an Angular Data Grid
Portugal, Marcelo Portugal, Marcelo
Portugal, Marcelo and Portugal, Marcelo chore: Release v4.6.6
Latest commit f275aa2 Nov 16, 2018
Failed to load latest commit information.
.github chore(ISSUE_TEMPLATE): Moved to .github folder Jun 26, 2018
design Enh(doco): create design folder, put some thoughts in it May 19, 2015
grunt fix(less): create a core.less file for import Aug 4, 2018
lib docs(ngdocs): replace grunt-ngdocs with grunt-uidocs-generator Jul 18, 2018
misc docs(112_swapping_data.ngdoc): Fix display error due to use of / Oct 16, 2018
src fix(sort): add an extra check for sort data Nov 16, 2018
test refactor(jscs): Implement JSCS TODO changes. Jun 26, 2018
.editorconfig feat(scripts): improve windows dev support Oct 21, 2018
.gitattributes chore(editor files): Improve editor files setup May 11, 2018
.gitignore chore(editor files): Improve editor files setup May 11, 2018
.jscs.json refactor(jscs): Implement JSCS TODO changes. Jun 26, 2018
.travis.yml chore(travis): Relocate build scripts. Jun 26, 2018
3.0_UPGRADE.md refactor(core) ui-grid $parent scope is now automatically assigned to… Jan 21, 2015
CHANGELOG.md docs(CHANGELOG): finish changelog updates Nov 16, 2018
CONTRIBUTING.md Merge pull request #5084 from JLLeitschuh/build/commitHooks Feb 9, 2016
DEVELOPER.md chore(angular.js): Support Angular 1.7.x May 16, 2018
FIRST_TIMER.md docs(ngdocs): replace grunt-ngdocs with grunt-uidocs-generator Jul 18, 2018
Gruntfile.js chore: Remove support for angular below 1.4 Oct 20, 2016
LICENSE.md chore(Build): Add license to css files Jan 29, 2015
README.md docs(README): Switch to jsdelivr rather than rawgit (#6877) Oct 21, 2018
bower.json chore: Release v4.6.6 Nov 16, 2018
package-lock.json chore: Release v4.6.6 Nov 16, 2018
package.json chore: Release v4.6.6 Nov 16, 2018


UI-Grid : An AngularJS data grid

Build Status Coverage Status FOSSA Status npm OpenCollective OpenCollective Gitter

Selenium Test Status


Head to http://ui-grid.info for documentation and tutorials. Join https://gitter.im/angular-ui/ui-grid to discuss development and ask for specific help.

We're always looking for new contributors, for pro-level contribution guidelines look at Contributor.md, if you're more of a first-timer with open source (or just need a refresher), look at First Time Open Source Contributor.md, also look at Developer.md

Need Some Inspiration? Have a look at our open good first issue issues, or the help wanted issues if you are looking for more of a challenge



    bower install angular-ui-grid
    <link rel="stylesheet" type="text/css" href="bower_components/angular-ui-grid/ui-grid.min.css">
<script src="bower_components/angular-ui-grid/ui-grid.min.js"></script>


    npm install angular-ui-grid
    <link rel="stylesheet" type="text/css" href="node_modules/angular-ui-grid/ui-grid.min.css">
    <script src="node_modules/angular-ui-grid/ui-grid.min.js">


You can use jsdelivr.com's cdn url to access the files. Just alter the version as you need.

Angular Compatibility

UI-Grid is currently compatible with Angular versions ranging from 1.4.x to 1.7.x.

Feature Stability

UI-Grid comes bundled with several features. Not all of them are currently stable. See the list below for the stability of each:

Feature Release state
auto-resize-grid (API) beta
cellnav (API) stable
edit (API) stable
expandable (API) alpha
exporter (API) stable
grouping (API) beta
importer (API) stable
infinite-scroll (API) beta
move-columns (API) alpha
pagination (API) alpha
pinning (API) stable
resize-columns (API) stable
row-edit (API) stable
saveState (API) stable
selection (API) stable
tree-base (API) beta
tree-view (API) beta

For more details on the features check the Tutorials.


UI-Grid has an excellent plugin system. Most new features can be added as plugins. Please see some discussion of that in the Developer guidelines. There is a list of known plugins on the tutorial site. If you would like your plugin added to that list, please edit the tutorial page and send a pull request.


The first step is to install dependencies. git is required and must be available from the command line. If you don't have it, install git and ensure that the executable is in your path. If you are new to git, the easiest way to install is by installing the github client.

The grunt command line utility is also required.

# If you don't already have the grunt-cli installed:
> npm install -g grunt-cli

With git and grunt-cli installed you simply run the following commands to install all dependencies.

> npm install
> grunt install

The default grunt task will test and build files into dist/

> grunt


Development "watch" task. This will automatically rebuild from source on changes, reload Gruntfile.js if you change it, and rebuild the docs.

  1. A server on localhost:9002 serving whichever directory you checked out, with livereload. Navigate to http://localhost:9002/misc/demo to see the demo files.
  2. A server on localhost:9003 serving the ./docs directory. These are the docs built from source with grunt-uidocs-generator.

grunt dev

By default grunt dev will start several karma background watchers that will run the tests against multiple versions of angular. You may specify the version(s) you want to use with the --angular flag:

> grunt dev --angular=1.6.7

> grunt dev --angular=1.5.11,1.6.7

You can also use the --browsers specify what browsers to test with (PhantomJS is the default).

> grunt dev --browsers=Chrome

# Run a single test run against multiple browsers
> grunt karma:single --browsers=Chrome,Firefox,IE

By default the dev tasks runs e2e tests with protractor. If you have problems with them running slow or hanging, you can disable them with the --no-e2e flag:

> grunt dev --no-e2e

The grunt task is getting slower as the body of tests gets larger. If you're only working on the core functionality you can disable the unit tests on the features with the --core flag:

> grunt dev --core

As a shortcut for options that the developers frequently use, there is also a --fast flag, which equates to --core --no-e2e --angular=<latest>:

> grunt dev --fast


The karmangular task runs tests serially against multiple browsers (it is used internally by the dev task).

# Run tests against all available versions of Angular on Chrome
> grunt karmangular --browsers=Chrome

# Run tests with a couple versions of Angular against the default PhantomJS browser
> grunt karmangular --angular=1.5.11,1.6.7


ui-grid is set up to run against SauceLabs. You must have the SAUCE_ACCESS_KEY environment variable set.

# Execute tests for a couple versions of angular on IE8
> grunt karmangular --angular=1.5.11,1.6.7 --browsers=SL_IE_8

# Run the watch tasks against IE10
> grunt dev --browsers=SL_IE10

The full list of SauceLabs browsers can be seen by running grunt saucebrowsers. Usually it should suffice to let Travis do this testing automatically, unless you're trying to debug a browser-specific issue.

What Happened to 2.x?

As of the 3.0 release, 2.x is officially deprecated. There will be no further releases. If for some reason you need to find the 2.x source please see the 2.x branch.

The 2.x docs are here: https://github.com/angular-ui/ng-grid-legacy/wiki.

Repository Rename

With the 3.0 release, the repository has been renamed from "ng-grid" to "ui-grid".

All network traffic to GitHub should redirect automatically but they say you should update your git remote url:

git remote set-url origin https://github.com/angular-ui/ui-grid.git


Thanks to Sauce Labs and BrowserStack for providing their testing platforms to open source projects for free.


Support us with a monthly donation and help us continue our activities. [Become a backer]


Become a sponsor and get your logo on our website and on our README on Github with a link to your site. [Become a sponsor]