You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/02/29 11:58:51 UTC

DO NOT REPLY [Bug 51673] groupRow in SXXSF.Sheet causes unreadable content

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

--- Comment #3 from Yegor Kozlov <ye...@dinom.ru> 2012-02-29 10:58:51 UTC ---
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. 
Workbook wb = new SXSSFWorkbook(100);

        Sheet sh = wb.createSheet();

        for (int rownum = 0; rownum < 1000; rownum++) {
            Row row = sh.createRow(rownum);
            if(rownum == 200)  {
                sh.groupRow(100, 200);
            }

        }

        for (int rownum = 0; rownum < 1000; rownum++) {
            Row row = sh.createRow(rownum);
        }
        sh.groupRow(100, 200);

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org