code: function transform(row) {
          let parent = row[0].parent();
          let visible = [];
  
          row.forEach((cell, index) => {
            columns[index].applyCss(cell);
            visible[columns[index].mapTo] = row[index];
            row[index].detach();
          });
  
          visible.forEach(cell => parent.append(cell));
        }
docs: function definitions