Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question