   
   testTableHierarchy: ->
 
+    # avoids ugly <a> tags in header
     MinimalHeaderCell = Backgrid.HeaderCell.extend(
 
       render: -> 

      columns.push(
        name: d
        label: Utils.zeroPad(d)
        editable: false
        sortable: false
        cell: "string"
        headerCell: MinimalHeaderCell
      )
    )


    console.log("data", data)

    dataCollection = new Backbone.Collection(data)
    
    grid = new Backgrid.Grid(
      columns: columns
      collection: dataCollection
      row: ClickableRow
      className: "table table-hover table-bordered table-striped"
    )

    $("div.report-table").append(grid.render().$el)


  instantiateView : ->


          entriesDaysGroups = _.groupBy(entries, (a) -> moment(a.date).date())
          
          entry = @groupByIteratorToString(entries[0])

          currentRow =
            "issue" : entry
            "sum" : Utils.minutesToHours(Utils.sum(_.map(entries, "duration")))
            "entriesDaysGroups" : entriesDaysGroups

          _.map(daysRange, (day) =>
              value = Utils.minutesToHours(Utils.sum(
