Thank you very much for the sample. That was basically what I was doing. I specified the number of columns in the instantiation of the table object. I set the gridlines and then I got empty cells. So the table was rendering but the data was not being assigned to the cells. I made some changes the cell pointers and the data started to appear. So your sample and now my sample work.
However in processing the real document, nothing is being rendered. Here is the situation. I am using doc.body.children.add( xxx) to add a table - then measure its height
then I use the remove method to get rid of it and then use the renderdirect to put it back. Nothing is showing up in the output. In fact almost all of the text inserts are failing to show up. One section that does show up is using the children.add method still.
It is possible the renderdirect and body.children add methodology clash - causing the renderdirect to not work? I tried adding a call to that method in my sample and the renderdirect calls are working fine - but the body.children.add is showing nothing - just the opposite of what I see in the main project.