So,do you mean my way(in my code) is the only way to copy the row from one
sheet to another sheet?

2011/8/12 Nick Burch <[email protected]>

> On Fri, 12 Aug 2011, maven apache wrote:
>
>> In fact,when I get the rows which match my requirement,I want to write
>> them
>> directly,however I have not found any api that can make it.
>>
>> For exmaple:
>>
>> Sheet st=wb.createSheet(0);
>> st.setRows(mySelectedRows);
>>
>
> Nope, as you identify a row you want, you'll need to create a row in the
> destination sheet, then create the cells
>
> You can't attach a row from one sheet to a different one, they have too
> much linked state with their parent sheet
>
> Nick
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> [email protected].**org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>

Reply via email to