Skip to content

Hidden columns reappear if we run updateSettings #7165

@AMBudnik

Description

@AMBudnik

Hey. I am having this issue too as the title describes but the reproduction steps are different. If you want me to make a separate issue then let me know but I searched for existing issues first and found this. This issue seems to be happening in the 8.0.0-beta2-rev1 as well.

My reproduction steps:

  1. Enable HiddenColumns
  2. Manually hide some columns using the plugin methods.
  3. Call updateSettings()
  4. Columns reappear

They do not reappear if specified in the original options for the table.

Example: http://jsfiddle.net/meja7421/ (You will see the columns reappear after 3 seconds when updateSettings() is run)

Thanks

Originally posted by @jeremy-smith-maco in #4121 (comment)

inform forum https://forum.handsontable.com/t/column-hiding-leads-to-ghosting-of-empty-columns/5223 and Gr https://handsoncode.groovehq.com/tickets/31941

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions