Skip to content

dstevick41/sproutcore-table

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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
  • Allow cell editing for more than one cell per row
  • Add unit tests

About

A table view for Sproutcore

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.2%
  • CSS 6.8%