loicfrering / backbone.datagrid

A powerful component, based on Backbone.View, that displays your Backbone collections in a dynamic datagrid table.
http://loicfrering.github.io/backbone.datagrid/
MIT License
55 stars 14 forks source link

actionClassName can be a callback #29

Closed gtzoganis closed 10 years ago

gtzoganis commented 11 years ago

A fix for Issue #10.

actionClassName can be a callback that is passed the corresponding model as a parameter.

loicfrering commented 11 years ago

Hi @titormos, thanks for this Pull Request! Before I merge it, could you please just update the action-cell.js file and not the dist files? I update the dist files only when I release a new version of Backbone.Datagrid.

Thanks!

gtzoganis commented 11 years ago

Hi, that makes sense. I have reverted the dist files. Is it good to merge now?

loicfrering commented 10 years ago

Sorry for the delay, thanks a lot @titormos!