Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created September 21, 2016 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/2c2aa65ef7aa160aa979b2f8b90cd690 to your computer and use it in GitHub Desktop.
Save goofmint/2c2aa65ef7aa160aa979b2f8b90cd690 to your computer and use it in GitHub Desktop.
6.md
properties: {
id: {
size: 70,
sortable: true
},
name: {
size: 100,
sortable: true
},
position: {
formatter: cellFormatter.input('text'),
changeHandler: changeHandler.edit()
},
score: {
formatter: cellFormatter.input('text'),
changeHandler: changeHandler.edit(parseInt)
},
select: {
formatter: cellFormatter.select(['Option1', 'Option2', 'Option3']),
changeHandler: changeHandler.edit()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment