- Notifications
You must be signed in to change notification settings - Fork2.4k
UI Grid: an Angular Data Grid
License
angular-ui/ui-grid
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Head tohttp://ui-grid.info for documentation and tutorials. Joinhttps://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 atContributor.md, if you're more of a first-timer with open source (or just need a refresher), look atFirst Time Open Source Contributor.md, also look atDeveloper.md
Need Some Inspiration? Have a look at our opengood first issue issues, or thehelp wanted issues if you are looking for more of a challenge
bower install angular-ui-grid
<linkrel="stylesheet"type="text/css"href="bower_components/angular-ui-grid/ui-grid.min.css"><scriptsrc="bower_components/angular-ui-grid/ui-grid.min.js"></script>
npm install angular-ui-grid
<linkrel="stylesheet"type="text/css"href="node_modules/angular-ui-grid/ui-grid.min.css"><scriptsrc="node_modules/angular-ui-grid/ui-grid.min.js">
You can usejsdelivr.com's cdn url to access the files. Just alter the version as you need.
- https://cdn.jsdelivr.net/gh/angular-ui/bower-ui-grid/ui-grid.min.js
- https://cdn.jsdelivr.net/gh/angular-ui/bower-ui-grid/ui-grid.min.css
UI-Grid is currently compatible with Angular versions ranging from 1.4.x to 1.8.x.
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 theTutorials.
UI-Grid has an excellent plugin system. Most new features can be added as plugins. Please see some discussion of that in theDeveloper guidelines.There is alist of known plugins on the tutorial site. If you wouldlike your plugin added to that list, pleaseedit 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.
Thegrunt command line utility is also required.
# If you don't already have the grunt-cli installed:> npm install -g grunt-cliWithgit andgrunt-cli installed you simply run the following commands to install all dependencies.
> npm install> grunt installThe default grunt task will test and build files intodist/
> gruntDevelopment "watch" task. This will automatically rebuild from source on changes, reload Gruntfile.js if you change it, and rebuild the docs.
- A server on localhost:9002 serving whichever directory you checked out, with livereload. Navigate tohttp://localhost:9002/misc/demo to see thedemo files.
- A server on localhost:9003 serving the ./docs directory. These are the docs built from source with grunt-uidocs-generator.
grunt dev
By defaultgrunt 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.7You can also use the--browsers specify what browsers to test with (ChromeHeadless is the default).
> grunt dev --browsers=Chrome# Run a single test run against multiple browsers> grunt karma:single --browsers=Chrome,Firefox,IEBy default thedev 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-e2eThe 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 --coreAs 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 --fastThekarmangular task runs tests serially against multiple browsers (it is used internally by thedev 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 ChromeHeadless browser> grunt karmangular --angular=1.5.11,1.6.7ui-grid is set up to run against SauceLabs. You must have theSAUCE_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_IE10The full list of SauceLabs browsers can be seen by runninggrunt saucebrowsers. Usually it should suffice to let Travis do this testing automatically, unless you're trying to debug a browser-specific issue.
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 the2.x branch.
The 2.x docs are here:https://github.com/angular-ui/ng-grid-legacy/wiki.
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.gitThanks toSauce Labs andBrowserStack 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]
About
UI Grid: an Angular Data Grid
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.