Displaying values in the table
HI Team,
I am trying to display 10 rows, with 3 cols in a table.
but it is displaying only last row.
this is the code is wrote.
for(int i=1;i<=10;i++)
{
wdContext.nodeEmpDetails().invalidate();
wdContext.nodeEmpDetails().currentEmpDetailsElement().setEmpId(500+i);
wdContext.nodeEmpDetails().currentEmpDetailsElement().setEmpName("Emp Name :"+i);
wdContext.nodeEmpDetails().currentEmpDetailsElement().setSalary(10000+i);
wdComponentAPI.getComponent().getMessageManager().reportSuccess(" Value..."+ i );
}
And bounded this node attributes to table cols.
when i print them i am getting all the values.
But the table is displaying only last row.
cardinality is 1--n
selction is 0-1
How can display all 10 rows in table
Regards,
Naresh