wyuenho/backgrid — pull request #387 by pekkast (2013-11-27 09:10:46+00:00)
Title: Add support for using direct functions on column definitions for editable, renderable & sortable

Row(model)-wise support for editable, renderable & sortable.
Analogous with sortValue.
example:
{"name":"amount_order",
"editable":function(model) {
return model.get('status') < 2
},
"cell":"integer",
"label":"Tilaus"
}