 ContinuumView = require "../common/continuum_view"
 HasProperties= require "../common/has_properties"
 DOMUtil = require "../util/dom_util"
+hittest = require "../common/hittest"
 
 class DataProvider
 

      if checkboxSelector? then @grid.registerPlugin(checkboxSelector)

      @grid.onSelectedRowsChanged.subscribe (event, args) =>
          @mget("source").set("selected", args.rows)

    return @



  updateSelection: () ->
    selected = @mget("source").get("selected")
    @grid.setSelectedRows(selected['1d'].indices)

  newIndexColumn: () ->
    return {
