               else if editing
                 td.appendChild(document.createTextNode("add " + cat.name))
               if editing
-                if cols > 1 && m != undefined
-                  generateCell(row, undefined, undefined, id+'-rec_'+i+'_'+(n||0)+'_'+m)
-                  row.appendChild(td)
-                  td.setAttribute("colspan", cols-1)
+                if 'metrics' of col && col.metrics[0].id != 'id'
+                  generateCell(row, undefined, undefined, id+'-rec_'+i+'_'+(n||0)+'_'+col.start)
+                  if cols > 1
+                    row.appendChild(td)
+                    td.setAttribute("colspan", cols-1)
+                  else
+                    row.removeChild(td)
                 td.className = 'null add'
                 td.id = id + '-add_' + i + '_' + cat.id
           td

          c = col.category.id
          t = counts[i][c] || 0
          r = records[c]
          if td = generateMultiple(col.category, l, row, i, n, t, col.start)
            if n == undefined
              for n in [0..t-1] by 1
                td.classList.add('ss-rec_' + r.id[n][i])


        generateAsset = (row, i, n) ->
          a = assets[i]
          return if generateMultiple({category:pseudoCategory.asset}, 3, row, i, n, a.length)
          b = i
          if n == undefined
            a = a[0]
