Skip to Content
0
Former Member
Mar 18, 2009 at 04:34 AM

How to populate IWDTable programatically

46 Views

Hi,

I am struggling with populating the IWDTable with the data that I porcessed in run time. At design time, I can define what my table looks like with all the columns etc.

Say, at run time, I process my data and put them in a list, example. How do I populate my table with the data I have?

From what I have read so far, look like I need to populate the table column by column instead of row by row (is that correct?). I may also need to use wdContext to holde my data first and use something like IWDTextView.bindtext("my context path") etc. Not sure if I am in the right track.

Any code sample will be greatly appreciated. This is for the 7.1 version.

Thanks!