Creating Dynamic Tables?
Hi,
Anybody has an idea how to add a TextView Element to a TableCellEditor dynamically.
The rest of the stuff like creating a Table, adding a column to it, adding a header to a column, adding a TableCellEditor to a column etc seems straightforward.
Regards
MK
Valery Silaev replied
MK,
So your table dataSource is not NodeA. Worse it, NodeA is not event a non-singleton child of table dataSource node. So this is normal table behavior.
You may do the following in your code (wdDoModify):
table.bindDataSource ( wdContext.getNodeInfo().getChild("NodeA") );
Now your design-time column will show same entry, but dynamically create column will work correctly.
VS