Hi,
I'm struggling to change the cell width. My code below doesn't have any affect on the table (the cells are both evenly spaced) What am I doing wrong?
var table = new docx.Table(1, 2); table.getCell(0, 1).cellProperties.setWidth(80, "pct"); table.getCell(0, 0).cellProperties.setWidth(20, "pct"); doc.addTable(table);
Hi,
I'm struggling to change the cell width. My code below doesn't have any affect on the table (the cells are both evenly spaced) What am I doing wrong?
var table = new docx.Table(1, 2); table.getCell(0, 1).cellProperties.setWidth(80, "pct"); table.getCell(0, 0).cellProperties.setWidth(20, "pct"); doc.addTable(table);