You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by meta <me...@gbtec.de> on 2010/11/25 09:35:12 UTC

Grouping rows after copying a sheet from a template

Hi All,

is there a way to group rows after copying the sheet from a template? The
function "groupRow" works fine if I create a blank sheet but as far as I
copy a template I can't group the rows! Is there a workaround?
Thanks in advance...

Best regards.
-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/Grouping-rows-after-copying-a-sheet-from-a-template-tp3279675p3279675.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


Re: Grouping rows after copying a sheet from a template

Posted by Mark Beardsley <ma...@tiscali.co.uk>.
Thanks for that and I must admit that I cannot think why this would be the
case. Is there anything special or unusual about the template at all? If
not, is it possible for you to upload the template so that someone can take
a look at it to see either if they have a solution or whether it has
uncovered a bug in the API? Sorry to say that I will not be able topost
again for about a week but I am sure someone else will pick up on the issue.

Yours

Mark B
-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/Grouping-rows-after-copying-a-sheet-from-a-template-tp3279675p3280107.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


Re: Grouping rows after copying a sheet from a template

Posted by meta <me...@gbtec.de>.
Hi Mark,

thanks for replying fo fast...

the template I copy from has not grouped rows. After creating some rows and
filling them with content I call the groupRows method for the new created
rows. Everything works fine, except that the rows were grouped.

As you said, I can't successfully call the the method if it is copied from
the template...
-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/Grouping-rows-after-copying-a-sheet-from-a-template-tp3279675p3279703.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


Re: Grouping rows after copying a sheet from a template

Posted by Mark Beardsley <ma...@tiscali.co.uk>.
Not too sure what you are asking here. Are you saying that the template sheet
already has rows grouped and that you lose this after copying? Are you
saying that you cannot successfully call the groupRows() method on a sheet
if it is copied from the template? Can you let us have a little bit more
information please?

Yours

Mark B
-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/Grouping-rows-after-copying-a-sheet-from-a-template-tp3279675p3279684.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