Row Spanning [message #1817055] |
Thu, 14 November 2019 13:44  |
Eclipse User |
|
|
|
WE have a table with two columns ColA , ColB
Table has Five rows:
============================
Col A | ColB
============================
X | NA
-----------------------------------------
X | NA
-----------------------------------------
X | NA
-----------------------------------------
Y | NA
-----------------------------------------
Y | NA
-----------------------------------------
Z | NA
============================
Now we want , after rowspanning(Merging) the table should showlike this :
============================
Col A | ColB
============================
|
X | NA
|
-----------------------------------------
|
Y | NA
-----------------------------------------
Z | NA
============================
But it is Showing like below :
Below Code Used:
spanningDataProvider.addAutoSpanningColumnPositions(0);
spanningDataProvider.addAutoSpanningColumnPositions(1);
spanningDataProvider.addAutoSpanningRowPositions(0,1,2);
spanningDataProvider.addAutoSpanningRowPositions(3,4);
============================
Col A | ColB
============================
|
X |
|
----------------| NA
|
Y |
-----------------------------------------
Z | NA
============================
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06613 seconds