How to display table widget data vertically

1
0
-1

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 :

  1. final List<List<Object>> resultTable = new ArrayList<List<Object>>();
  2. int maxColumn = resultset.getMetaData().getColumnCount()+1;
  3. while(resultset.next())
  4. {
  5.  
  6. final List<Object> row = new ArrayList<Object>();
  7. for(int colIndex = 1; colIndex < maxColumn ; colIndex++){
  8. row.add(resultset.getObject(colIndex));
  9. }
  10. resultTable.add(Collections.unmodifiableList(row));
  11.  
  12. }
  13. return resultTable

vv

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.
Notifications