Threaded comments need too be exported also

Posted by: chander.pal on 19 August 2026, 2:23 am EST

    • Post Options:
    • Link

    Posted 19 August 2026, 2:23 am EST - Updated 19 August 2026, 2:38 am EST

    Hi,

    I have a sheet that is been exported successfully . recently we added a feature too add comments on the cells and that comments are bieng saved in our db and succesfully retrieved as well.

    When i open the sheet that has data with comments. when i try too export the excel it does not add the comments on that excel file. in code there is already { includeBindingSource: true } . so how can we achieve this i tried on https://developer.mescius.com/spreadjs/demos/features/spreadjs-file-format/overview/angular by adding comment and saving the file there it is working.

    can you tell does the spread js 19 supports threaded comments export with data .

  • Posted 19 August 2026, 5:04 am EST - Updated 19 August 2026, 5:10 am EST

    Hi,

    Yes — SpreadJS v19+ supports threaded comments, including export to Excel with their data. Threaded comments were introduced in v19.0.0, and the feature docs state it “Maintains compatibility with SpreadJS APIs and Excel export.”

    A few things to check, since includeBindingSource: true is unrelated to comments (that only controls data-binding serialization):

    Module loaded — Threaded comments require the plugin module(s). If you use modular packages you must load all three:

    gc.spread.sheets.comments…min.js

    gc.spread.sheets.components…min.js

    gc.spread.sheets.threadedcomments…min.js

    (or just reference the all-in-one gc.spread.sheets.all…min.js). If gc.spread.sheets.threadedcomments isn’t loaded, comments won’t be serialized/exported. Check your version — if it’s < 19.0, that’s why it doesn’t work.

    Same workflow as the demo — add the comment, then spread.export(…, { fileType: GC.Spread.Sheets.FileType.excel, … }); the threaded comment data is serialized with the workbook by default, no extra flag needed. Refer to thi demo: https://developer.mescius.com/spreadjs/demos/features/spreadjs-file-format/overview/angular

    If it’s still not exporting after confirming the module and version, To better assist you, could you share a minimal working sample along with the steps to replicate the behavior you have observed, or modify the existing sample to replicate the behavior? This will enable me to investigate the problem more thoroughly. Additionally, It would be helpful if you could provide a GIF or video illustrating the issue.

    Regards,

    Priyam

  • Posted 19 August 2026, 7:23 am EST

    We are using var excelIO = new GC.Spread.Excel.IO();

    excelIO.save(json, function (blob) {

    saveAs(blob, exportFileName);

    the excel IO does support the threading or not as i check the json it contains the threaded comments.

    is there any other option

  • Posted 20 August 2026, 1:55 am EST

    So i tried with the spread IO and it works just wanted too confirm that excel IO is deprecated and the links mention in spread js are not clickable on the excel i also tried on the import and export file.

  • Posted 20 August 2026, 1:55 am EST - Updated 20 August 2026, 2:06 am EST

    Hi Chander,

    Thank you for the clarification.

    The GC.Spread.Excel.IO (ExcelIO) API has been deprecated, and we recommend using the @mescius/spread-sheets-io package for Excel import/export with SpreadJS.

    Although the threaded comments are present in the SpreadJS JSON, the export behavior can depend on the IO component being used. The recommended approach is to migrate from the deprecated ExcelIO API to the spread-sheets-io package.

    We have also attached a demo that demonstrates the behavior using both the deprecated ExcelIO API and the recommended spread-sheets-io package. This should help you compare the export results and verify threaded comment support in your application.

    Please let us know if you continue to experience the issue after migrating to spread-sheets-io, and we can investigate further with a sample from your application.

    Best Regards,

    Chirag

    Attachment: threadedCommentsDemo.zip

    References:

    1. SpreadJS File Format Docs

    Working:

  • Posted 20 August 2026, 5:36 am EST

    Hi Chander,

    Yes, that is correct. As stated in our previous response, ExcelIO is deprecated, and we recommend using the spread-sheets-io package for Excel import/export. We are glad to hear that the export works as expected with the recommended IO package.

    Regarding the hyperlinks within threaded comments, import is supported; however, hyperlink functionality within threaded comments is currently limited during Excel export. The threaded comment content itself is preserved, but the hyperlinks are not currently exported as clickable links.

    At this time, there is no additional option or setting available to enable this behavior.

    We appreciate your understanding.

    Kind Regards,

    Chirag

Need extra support?

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

Learn More

Forum Channels