       if checkboxSelector? then @grid.registerPlugin(checkboxSelector)
 
       @grid.onSelectedRowsChanged.subscribe (event, args) =>
-          @mget("source").set("selected", args.rows)
+        selected = hittest.create_hit_test_result()
+        selected['1d'].indices = args.rows
+        @mget("source").set("selected", selected)
 
     return @
 

ContinuumView = require "../common/continuum_view"
HasProperties= require "../common/has_properties"
DOMUtil = require "../util/dom_util"

class DataProvider



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

  newIndexColumn: () ->
    return {
