GithubHelp home page GithubHelp logo

cuddlebunny / aurelia-datagrid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weagle08/aurelia-datagrid

0.0 1.0 1.0 341 KB

A data grid control for Aurelia with sorting and filtering capabilities.

License: MIT License

JavaScript 79.85% HTML 17.23% CSS 2.91%

aurelia-datagrid's Introduction

aurelia-grid

A data grid plugin for Aurelia with sorting and filtering capabilities.

  <grid css-framework="bootstrap" data-source.bind="samples">
    <template replace-part="grid-template">
      <grid-column property="name" filterable sortable></grid-column>
      <grid-column property="title" alignment="center" filterable sortable></grid-column>
      <grid-column-checkbox property="active" filterable sortable></grid-column-checkbox>
      <grid-column-button heading="Action" caption="Select" 
          button-click.call="select(row.id)">
      </grid-column-button>
      
      <grid-column-template heading="Custom">
        <template replace-part="custom-template">
          <div class="input-group">
            <span class="input-group-addon">
              <input type="radio" aria-label="...">
              <input type="radio" aria-label="...">
            </span>
            <input type="text" class="form-control" aria-label="...">
          </div>
        </template>
      </grid-column-template>
      
      <grid-column-edit></grid-column-edit>
    </template>

    <template replace-part="grid-footer-template">
      <td colspan.bind="columns.length">
        Total Items: ${samples.length}
      </td>
    </template>
  </grid>

Live Demo

Aurelia-DataGrid Demo

Sample Web App Using the Plugin

Aurelia-DataGrid Examples

Documentation

Examples

Dependencies

** The grid can be configured to use either Bootstrap or Semantic-UI. One of these packages must be manually installed depending on which framework you wish to use. By default, the grid is configured to use Bootstrap.

Used By

This library isn't used by Aurelia. It is an optional plugin.

Platform Support

This library can be used in the browser.

Building The Code

To build the code, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:
npm install
  1. Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
  1. To build the code, you can now run:
gulp build
  1. You will find the compiled code in the dist folder, available in four module formats: AMD, CommonJS and ES6.

  2. See gulpfile.js for other tasks related to generating the docs and linting.

aurelia-datagrid's People

Contributors

cuddlebunny avatar donnelljenkins avatar

Watchers

 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.