Code Monkey home page Code Monkey logo

trnggrid's Introduction

trNgGrid is a feature rich data grid based on the popular AngularJs framework and making use of plain HTML table elements.

Changes to original

  • Use Font Awesome Sort Order Chevron's instead of Glyphicons

Why another one?

Simply because everything else you're gonna find out there is either:

  • breaking the separation of concerns, forcing you to initialize it inside a controller, and not inside the view
  • using DIVs instead of the elements meant to display tabular data, hence performing poorly and, as a bonus, turning the rendered markup into spaghetti
  • over-engineered without giving you much in return, making it just difficult to maintain
  • quite pricey
  • bringing along bloated old dependencies for the ride

Why this one?

  • is simple to use
  • spits out plain HTML table elements, meant to be used for displaying tabular data, thus helping the browsers to optimize the rendering
  • allows you to fully describe it in a view, without messing up your controllers with elaborate configs
  • fully customizable via templates and two-way data bound attributes
  • easy to maintain, as its code was written in TypeScript. The repository also has the JS implementation, so no need to worry if you don't have time to learn something new (even though I strongly recommend this one as it brings a bit of order in the Javascript chaos)
  • has a very short list of dependencies: Angular and Bootstrap CSS
  • it's far from perfection, but it's actively being maintained and improved

Convinced?

You can install the grid by either:

  • running npm install tr-ng-grid --save or
  • running bower install tr-ng-grid --save or
  • downloading the grid from the master branch, which contains the latest release. The files you're interested in are trNgGrid.min.css and trNgGrid.min.js.

Make sure you first include Angular and a Boostrap theme of your choice. Themes can be found on the Bootswatch website. Of course you can craft your own, as the grid layout is quite easy to style.

If you want to show your support and help keep the flame burning, please donate

Legend

  • Release: master, gh-pages/release
  • Experimental: beta, gh-pages/beta

Issues

Feel free to report any problems you are experiencing, but before you do that, fork this simple Plunker and attempt to isolate the issue.

trnggrid's People

Contributors

moonstorm avatar yieme avatar panuhorsmalahti avatar oldskool73 avatar dv336699 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.