No difference between "none" Table style's border and non-exitent Table style

Posted by: eyal.ofri on 20 May 2023, 7:04 pm EST

  • Posted 20 May 2023, 7:04 pm EST - Updated 20 May 2023, 7:12 pm EST

    I created an excel file that has 2 custom table styles in it.

    1. Has only “Whole Table” borders, without any “Row Header” styles
    2. Has “Whole Table” borders and in addition has “Row Header” style that define “topBorder: none”.

    When I import this file into GrapeCity it’s displayed correctly.

    But when I try to inspect the properties in Java I don’t see any difference between the 2 tables that indicates the actual difference in styles between the 2 tables.

    The path I looked at:


    I attached the excel file I used and described

  • Posted 21 May 2023, 11:37 pm EST


    We are discussing this with the development team. Will get back to you once we have any update from them.[Internal Tracking Id - DOCXLS-8267]

    Best Regards,


  • Posted 22 May 2023, 11:26 pm EST


    As per the development team, there’s no such method that could get the difference from table API.

    While we can get the difference using the cell’s display format:

    IBorder b1 = wb.getWorksheets().get(0).getRange("B6").getDisplayFormat().getBorders().get(BordersIndex.EdgeTop);
    IBorder b2 = wb.getWorksheets().get(0).getRange("G6").getDisplayFormat().getBorders().get(BordersIndex.EdgeTop);

    Please refer the attached sample:

    Best Regards,


Need extra support?

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

Learn More

Forum Channels