How to display table widget data vertically
Hello , i m using bonitasoft community 6.3 and from external database i m able to display data in table widget on form . by following code :
final List<List<Object>> resultTable = new ArrayList<List<Object>>();
int maxColumn = resultset.getMetaData().getColumnCount()+1;
while(resultset.next())
{
final List<Object> row = new ArrayList<Object>();
for(int colIndex = 1; colIndex < maxColumn ; colIndex++){
row.add(resultset.getObject(colIndex));
}
resultTable.add(Collections.unmodifiableList(row));
}
return resultTable
int maxColumn = resultset.getMetaData().getColumnCount()+1;
while(resultset.next())
{
final List<Object> row = new ArrayList<Object>();
for(int colIndex = 1; colIndex < maxColumn ; colIndex++){
row.add(resultset.getObject(colIndex));
}
resultTable.add(Collections.unmodifiableList(row));
}
return resultTable
as per img it display perfectly normal table my requirement is to display table as per follow
column 1 row1 column 2 row2 column 3 row3
pl help Thanks in advance
No answers yet.