Skip to content

sproutcore/sproutcore-table

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Overview

This is a table view for Sproutcore.

##How to Use

MyApp.arrayController.columns = [  
  SC.TableColumn.create({ key: "key1", label: _("Label 1"), width: 100 }),
  SC.TableColumn.create({ key: "key2", label: _("Label 2"), width: 200 }),
];


SC.TableView.extend({
  contentBinding: 'MyApp.arrayController.arrangedObjects',
  selectionBinding: 'MyApp.arrayController.selection',  
  columnsBinding: 'MyApp.arrayController.columns',
})

##TODO:

  • Improve documentation
  • Add unit tests

About

A table view for Sproutcore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.4%
  • CSS 6.6%