cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Table Element

Private_Member_52584
Participant
0 Kudos

Hi Experts,

I want to insert some input fields and dropdown lists in the table. And that Table header contains one button called ADD button. When the user clicks on button what ever fields the table contains that are added dynamically in the table only.....Can any body suggestion me.....What is the procedure to do this one and what code i need to write ...

Please Help me.Thanks in Advance.

Regards,

Venkat.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi kindly use this code for adding row

ITableNode nodeTab = wdContext.nodeTable(); // consits all the UI elemnts for adding to a table

ITableElement eleTab;

for(int i=0;i<1;i++){

eleTab = nodeTab.createTableElement();

nodeTab.addElement(eleTab);

}

Private_Member_52584
Participant
0 Kudos

Hi Praneeth,

My Requirement is add the input fields and drop down list when the user clicks add button in the table header.For this requirement how to create a context , wt code i need to write and where i can write the code........

Regards ,

Venkat

Answers (0)