Skip to content

gestixi/sproutcore-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The repository has been moved to: https://github.com/sproutcore/sproutcore-table


#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