Skip to content

Lets you declare sortable, pageable tables with minimal effort while providing high flexibilty.

License

Notifications You must be signed in to change notification settings

tinkerwell/angular-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-table

Lets you declare sortable, pageable tables with minimal effort while providing high flexibilty.

Written in CoffeeScript.

Check out the examples for more information.

How

All you have to do in your controller is setting up a list on your $scope:

$scope.nameList = [{name: "Laura"}, {name: "Lea"}, {name: "Sara"}]

Defining a table is 100% declarative. Here's a simple example:

<table at-table list="nameList">
  <!-- the header will automatically be created according to the body definition. -->
  <thead></thead>
  <tbody>
    <tr>
      <!-- for each item in list a cell will be rendered, containing the value in attribute. -->
      <td at-implicit attribute="name"></td>
      <!-- you can still render custom cells if you need to. -->
      <td title="Custom cell">
        The name is {{item.name}}
      </td>
    </tr>
  </tbody>
</table>

About

Lets you declare sortable, pageable tables with minimal effort while providing high flexibilty.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published