On a Data Grid which allows moving of columns, I’d like to fix (hold position) for one (or two) columns. For example I would like to fix the far most left (or fa most right) column. Is this possible?
Regads,
On a Data Grid which allows moving of columns, I’d like to fix (hold position) for one (or two) columns. For example I would like to fix the far most left (or fa most right) column. Is this possible?
Regads,
Hi, Robert.
Try disabling the grid header setting enableColumnMove.
[attachment=0]grid_columnb_setting_move.png[/attachment]
Hi Kim
Good morning and thanks for your answer. Disabling column move affects all columns of the grid, whereas I’d like to disable one specific column of the grid from being moved. Couldn’t find that but may be I overlooked something.
Best regards
You can lock the position of columns to the left or right by setting the ‘lockPosition’ columnDef property to either ‘left’ or ‘right’.
[attachment=0]columnDef_lockPosition.png[/attachment]
Thanks Seain, your solution solved my problem