https://issues.apache.org/bugzilla/show_bug.cgi?id=51673

Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Yegor Kozlov <[email protected]> 2012-02-29 11:01:17 UTC ---
Please ignore my previous post, I occasionally submitted it too early.

Support for grouping rows in SXSSF has been committed in r1295058

Please note that the rows being grouped must be in the memory window, you
cannot write 1000000 rows and then group rows 100-200. 

Examples:

        Workbook wb = new SXSSFWorkbook(100);

        Sheet sh = wb.createSheet();

        for (int rownum = 0; rownum < 1000; rownum++) {
            Row row = sh.createRow(rownum);
            if(rownum == 200)  {
                // correct: group rows while they are in memory
                sh.groupRow(100, 200);
            }

        }

        for (int rownum = 0; rownum < 1000; rownum++) {
            Row row = sh.createRow(rownum);
        }
        // wrong: rows are already flushed and groupRow has no effect
        sh.groupRow(100, 200);

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to