Forced redrawing of cells when the parent ContainerController.updateCompositionShapes() is called.
This fixes drawing of cells when the table structure of an existing table changes.
It might be more efficient if there's a check to see if the table structure changes rather than blindly redrawing the table block every time.
diff --git a/textLayout/src/flashx/textLayout/container/ContainerController.as b/textLayout/src/flashx/textLayout/container/ContainerController.as
index eef34fb..08f4a68 100644
--- a/textLayout/src/flashx/textLayout/container/ContainerController.as
+++ b/textLayout/src/flashx/textLayout/container/ContainerController.as
@@ -3203,6 +3203,11 @@
 					childIdx++;
 					newIdx++;
 					oldIdx++;
+					if(newChild is TableBlockContainer)
+					{
+						// update the contents in case cells were added or removed. (There might be a more efficient way to do this, but this works.)
+						(newChild as TableBlockContainer).userData.updateCompositionShapes();
+					}
 					continue;
 				}
 				var newChildIdx:int = _shapeChildren.indexOf(newChild);
diff --git a/textLayout/src/flashx/textLayout/elements/TableElement.as b/textLayout/src/flashx/textLayout/elements/TableElement.as
index a9472c1..2718c13 100644
--- a/textLayout/src/flashx/textLayout/elements/TableElement.as
+++ b/textLayout/src/flashx/textLayout/elements/TableElement.as
@@ -534,6 +534,7 @@
 				}
 				if(colIdx < numColumns){
 					addChildAt(cellIdx++,cell);
+					cell.damage();
 				}
 			}
 			return true;