lock column in tree-columns grid

2 posts, 0 answers
  1. Андрей
    Андрей avatar
    1 posts
    Member since:
    May 2019

    Posted 24 May Link to this post

    I use grid with params

    columnMenu: true,

    columns: [{

        "title": "Docs",
        "command": [
        {
             "name": "B24",
             "click": func,
        }
        ],
            "locked": true,
            "lockable": false,
            "hidden": false,
    },

    {
        "title": "title1",
        "columns": [
        {
            "title": "title2"

    ....

    ....

    ....

    ]

    And with tree header structure I do not see in columnMenu lock-unlock buttons.

    How can do that they will be visible?

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    2286 posts

    Posted 28 May Link to this post

    Hi Андрей,

    When multi-column headers are enabled for the Grid locking is possible for an entire group only. A nested column cannot be locked on its own. 

    On the other hand the column menu is available only for the actual bound columns. Having lock/unlock option there would not make sense as locking a nested column should lock the entire group. Such implementation would lead to confusion and unexpected results by the users. This is why the lock/unlock options are not present with multi-column headers. 


    Regards,
    Viktor Tachev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top