on 07-21-2006 9:10 AM
Hi to all,
In my application i am having a table with 2 columns. in which i am displaying the data through array of arraylist. For First column everything is fine but in 2nd column data are being displayed in the cell after the filled cells of first column.Means if first column has 7 records then records in second column is being displayed from the 8th cell.What should i do so that elements in 2nd column also get displayed from 1st cell.
Please help me.
Thanks and Regards
Pankaj Kumar
Hi Pankaj,
How do you fill your datasource node? Please post the context structure and the code.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
use the follwing code
int rowcount = wdContext.node<Name>().size();
while(rs.next())
IPrivate<ViewName>.I<Name>Element tabnode =wdContext.node<Name>().get<Name>ElementAt(i);
tabnode.nodeAuthoriseNode().invalidate();
tabnode.nodeAuthoriseNode().addElement(0,authele);
tabnode.nodeAuthoriseNode().setLeadSelection(0);
wend
Regards
Dhinakar
Hi,
Set the columns simultaneously.
for(int i=0;i<arraylist.size();i++)
{
IPrivate<view name>.I<node name>Element element = wdContext.node<node name>().create<node name>Element();
element.setColumn1("xx");
element.setColumn2("yy");
wdContext.node<node name>().addElement(element);
}
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaj,
can you explain in little bit detail fashion?
Regards
Saravanan K
Message was edited by: Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.