Coder Social home page Coder Social logo

ember-tabella's Introduction

Ember-tabella

Table component for ember built using ember-collection.

Build Status Code Climate

Demo

arenoir.github.io/ember-tabella

Features

  • Incremental rendering via ember-collection
  • Custom teplates per cell
  • Optional Fixed columns for horizontal scrolling.
  • Resizable columns
  • Scroll Tracking

Installation

ember install ember-tabella

Usage

ember-tabella

{{ember-tabella
  columns=columns 
  content=data
  numFixedColumns="2" 
  sortedColumn=sortedColumn 
  isSortReversed=_desc
  scrollLeft=scrollLeft
  scrollTop=scrollTop
  on-sort=(action "sort")
  column-clicked=(action "columnClicked")
}}

columns

A array of objects extending from ember-tabella/models/columns.js

Default: []

content

A array of objects extending from Ember Object. Usually an ember-data model.

Default: []

numFixedColumns

The number of columns from the left that should remain fixed.

Default: null

sortedColumn

The column id that should be shown as sorted.

Note: Only used to show content is sorted. Default: null

isSortReversed

Is the content ordered in descending order.

Default: null

scollLeft

The scollLeft postion of the table body.

Default: 0

scollTop

The scollTop postion of the table.

Default: 0

Dependencies

ember-tabella's People

Contributors

arenoir avatar ember-tomster avatar mihaipaun avatar

Watchers

 avatar James Cloos 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.