Grid popup edit command & locked columns

2 posts, 0 answers
  1. Oli
    Oli avatar
    8 posts
    Member since:
    Oct 2015

    Posted 18 Jan 2017 Link to this post

    I have an issue with the placement of the popup edit command when used in conjunction with locked column(s).

    Basically this works fine but only if the edit command is placed on the right-most column in the grid. However I would like to have the edit button on the extreme left (so in the first column).

    When I do this it looks fine initially, however, when locking a column, the column doesn't stack up to the right of the command column as I was expecting - it snaps to being the first column. This then moves the command along one column to the right which is not ideal.

    Before:

    Command | Col 1 | Col 2

     

    After locking Col 2:

    Col 2 | Command | Col 1

    How can I keep the command column always positioned in the first column?

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1049 posts

    Posted 19 Jan 2017 Link to this post

    Hello Oli,

    You can move the command column configuration to the beginning of the columns array and lock it. Then other locked columns will appear to the right of the command column, e.g.:

    http://dojo.telerik.com/oramO

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top