cancel
Showing results for 
Search instead for 
Did you mean: 

Problem about view!

Former Member
0 Kudos

Hi

I create a view with a Table name "table_0" in it.

Now ,I want get the Element Table name "table_0" in view.

Any one can give me a example code?

Thanks.

Fan

Accepted Solutions (1)

Accepted Solutions (1)

nikhil_bose
Active Contributor
0 Kudos

I don't know why you are going through that way!!!

in wdDoModifyView() you can get the reference of the element and can perform any dynamic change is indeed.

IWDTable table = (IWDTable) view.getElement("table_0");

if you want table header you can get it

table.getHeader().getText() will return you header as String.

you can use global variables if you still want comparison, if any.

hope you got the hint

nikhiL

Answers (1)

Answers (1)

Former Member
0 Kudos

if you want table name just change the header of the table, you will be able to see it Iview.

thanks,

venkat