Re: [fitnesse] How to add a cell to a row from within fixture?
- View SourceMicah Martin wrote:
> Here's snippet from RowEntryFixture.Thanks.
> protected Parse appendCell(Parse row, String text)
> Parse lastCell = new Parse("td", text, null, null);
> row.parts.last().more = lastCell;
> return lastCell;
> You could also do something like this to take care of the colspan.
> lastCell.addToTag(" colspan=\"2\"");