After hide the column in the frozen cloumns, the frozenColumns is not right

Posted by: frhave on 18 December 2017, 3:33 pm EST

    • Post Options:
    • Link

    Posted 18 December 2017, 3:33 pm EST

    steps:

    1. open the link http://jsfiddle.net/ujg10t1e/

      2.click the Hide button, it will hide the countries column.

      3.then the grid’s frozenColumns is still 2, but the grid only has 1 frozen column, and the frozen black boder is disappear.

      thanks.
  • Posted 19 December 2017, 7:02 am EST

    Hi,

    Thank you for reporting this issue.

    We are able to replicate the issue at our end and it seems a bug. Hence, this issue has been forwarded to the concerned team for further investigating with id 301530.

    We will let you know as we get any update on this.

    ~Manish

  • Posted 19 December 2017, 10:35 pm EST

    This is the design behavior.

    The frozen column (and row) counts include hidden columns and rows.

    This seems quite logical, and is the same behavior seen in Excel (freeze 3 columns, hide one of them, you will now see two frozen columns even though there are three).

    The behavior is also consistent with other collections. For example, the grid’s columns.length property returns the total number of columns, including hidden ones.

  • Posted 20 December 2017, 12:06 am EST

    I see, thanks!

Need extra support?

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

Learn More

Forum Channels