             cell.classList.add('blank')
             v = info.metric.assumed || ''
           cell.appendChild(document.createTextNode(v))
+          cell.id = info.id
+          if info.d?
+            cell.classList.add(cls = info.p + info.d)
+            cell.classList.add(cls + '_' + info.metric.id)
           return
 
         # Add a td element to tr r with value c and id i

            info.cell.className = 'null'
          else
            generateText(info)
            info.cell.id = info.id
          return

        generateMultiple = (info) -> # (col, cols, row, i, n, t) ->

            info.d = r.id[info.n][info.i]
            info.id = pre + (info.cols.start+mi) + post
            generateCell(info)
          return

        # Fill out rows[i].
