Code Monkey home page Code Monkey logo

angular-x-data-table's Introduction

Angular 2 Data Table

An Angular 2+ Data Table that uses HTTP to create, read, update and delete data from an external API such REST

Warning

This module is a work in progress and is in concept phase.

Installation

You can install the module using npm:

`npm install angular-x-data-table --save`

Attributes

Attributes Description Default
title The table title undefined
authTokenHeader Token used when calling the REST API undefined
delete The delete endpoint undefined
get The get endpoint undefined
patch The patch endpoint undefined
post The post endpoint undefined
put The put endpoint undefined
maxRows The max number of rows in a page undefined
stripped Stripped table false
condensed Turn the lines compact false
hover Hover the line when the mouse is over false
contentEditable Allow object edition directly in the table false

Example

<br-data-table
  title="My table title"
  authTokenHeader="Authorization: kjhl2sd34fhgn564356ljsvdhfgn34iery678gxeqwrgt"
></br-data-table>

Run the demo

`cd examples/webpack`
`npm install`
`npm start`

Then access http://localhost:8080

Contribution

To submit a pull request, you should embed the styles and template in the component using gulp and compile using tsc.

To embed the styles and template just run:

  • gulp js:build

To compile the application just run:

  • npm run build

To Do

  1. Lint the styles before inline
  2. Minify the styles before inline
  3. Lint the html before inline
  4. Minify the html before inline

angular-x-data-table's People

Watchers

James Cloos avatar Bruno João 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.