     render: ->
         selected = @d().selected
         selected = @props.selections.selectionDefault unless selected?
-        <input type="checkbox" checked={selected} onChange={@onChange} />
+        attrs = @props.selections.attributesGetter?(@props) || {}
+        <input type="checkbox" checked={selected} onChange={@onChange} {...attrs} />
 
 
 

        false == this.xtraData(indx)?.selected

class Lanes.Components.Grid.Selections
    constructor: (options) ->
        _.extend(@, DEFAULTS)
        @onChange = options.onChange
        @choices = {}
        _.bindAll(@, 'onColumnClick')
        @component = _.partial(@component, _, @)

class CheckBox extends Lanes.React.BaseComponent
    d: -> @props.query.results.xtraData(@props.row)

    onChange: (ev) ->
        @d().selected = ev.target.checked
        @props.selections.onChange?(@props)
        @forceUpdate()
