This is a migrated thread and some comments may be shown as answers.

Grid popup edit command & locked columns

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Oli
Top achievements
Rank 1
Oli asked on 18 Jan 2017, 01:53 PM

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?

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 19 Jan 2017, 11:46 AM
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.
Tags
Grid
Asked by
Oli
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or