John Watson writes: > With the latest release, empty cells in tables seem to never get borders > around them. I have tried everything that I can think of to make borders > appear around them, but they never show up. How can I do this?
I made a design choice. There is a parameter in class Table mAutoFillEmptyCells. It was true by default, I changed it to false, increasing performance. I documented this in the tutorial: http://www.lowagie.com/iText/tutorial/ch05.html#nested As you can see we have to set a parameter 'AutoFillEmptyCells' to true. This automagically fills the empty cells with a cell that follows the default cell layout. If we forget to do this (as in the second table in the example), there will be no extra cells added and rows that don't contain any cells will be omitted. In the example, the first row is not shown, because it is empty. Remark: this will only fill cells that weren't added to the table. Maybe I should add something to the autoFillEmptyCells method to replace empty cells without layout with an empty cell with layout. kind regards, Bruno _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
