poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Crocker, David" <David.Croc...@nrel.gov>
Subject RE: Merging the cell by row wise with out losing of the data
Date Tue, 11 Mar 2014 14:41:01 GMT
That works as designed.  If you want to merge the content of the cells then you need to concatenate
first.

-----Original Message-----
From: swamyvnvs [mailto:swamy.vutukuru@gmail.com] 
Sent: Monday, March 10, 2014 10:32 PM
To: user@poi.apache.org
Subject: Merging the cell by row wise with out losing of the data

Hi Team,

I am new to POI, i have small requirement i.e. I need to merge the data by row wise with out
losing of data of any row.

I am using below code for merging.

sheet.addMergedRegion(new
CellRangeAddress(firstrow,lastrow,firstcolumn,lastcolumn));

 it is merging successfully but, content was overridden by first row data.

Can any one help me on this.

Thanks and Regards
Swamy Vutukuru



--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Merging-the-cell-by-row-wise-with-out-losing-of-the-data-tp5715144.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message