c1Flexgrid Save Excel with FileFlags.Outline has problem

Posted by: levanduyet on 16 June 2024, 8:53 pm EST

    • Post Options:
    • Link

    Posted 16 June 2024, 8:53 pm EST - Updated 16 June 2024, 8:58 pm EST

    Hi,

    I use c1flexgrid to do summary and save including group outline to Excel file.

    The group level is just 2 level but when I open excel file, there are many group.

    It could be a bug.

    Deliveryflexgrid.SaveExcel(dlg.FileName, FileFlags.AsDisplayed | FileFlags.IncludeFixedCells | FileFlags.Outline);

    Pls check.

    Thanks,

  • Posted 18 June 2024, 6:09 am EST

    Hello,

    Group levels in FlexGrid start from 0. Therefore, the first group will be at level 0, the second group at level 1, and so on. Please refer to the attached sample and let us know if it helps. (see FlexGrid_SaveExcel.zip)

    If this does not align with your implementation or if you have a different understanding, please update the attached sample and provide us with more information about your use case so we can assist you accordingly.

    Regards,

    Uttkarsh.

  • Posted 19 June 2024, 3:00 am EST - Updated 19 June 2024, 3:00 am EST

    Hi Uttkarsh,

    You can see the above photo. The grid was shown correct, but when export to excel, the group (level 0) got problem.

    Pls check.

    Thanks,

    Duyet Le

  • Posted 19 June 2024, 5:05 am EST

    Hi Uttkarsh,

    Thanks.

    Duyet Le

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels