Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
When using hideColumn() to hide a column, selecting a row, and then executing showColumn(), a bold line appears on the column that was hidden. Upon investigation, it was discovered that this issue arises because the highlight-top and highlight-bottom classes are being added, despite the corresponding cell in the hidden column not being pushed to obj.highlighted.
I believe it is necessary to add a condition not only for obj.options.columns[i].type != 'hidden' but also for obj.colgroup[i].style.display != 'none', so I have incorporated it.
I am reopening this pull request as I mistakenly created one against the dev branch earlier. My apologies for any inconvenience.
Please review and let me know if there are any questions or if further clarification is needed.
Thank you.
When using hideColumn() to hide a column, selecting a row, and then executing showColumn(), a bold line appears on the column that was hidden. Upon investigation, it was discovered that this issue arises because the highlight-top and highlight-bottom classes are being added, despite the corresponding cell in the hidden column not being pushed to obj.highlighted.
I believe it is necessary to add a condition not only for obj.options.columns[i].type != 'hidden' but also for obj.colgroup[i].style.display != 'none', so I have incorporated it.
I am reopening this pull request as I mistakenly created one against the dev branch earlier. My apologies for any inconvenience.
Please review and let me know if there are any questions or if further clarification is needed. Thank you.