I want to fixed the last column right most column (My actions Edit/Delete buttons columns) of my Outsystem Data Grid. How I can do that I tried css, javascript but nothing worked. and Is there any inbuilt function I checked I couldn't find anything. I have around 34 columns
Hi @Anjali Choudhary ,
You can use the following JavaScript code in the grid’s OnInitialize event. This will freeze the last column. You can adjust the configuration as needed.
NOTE: Applying manual freeze column will overwrite this one.
Hi @Mihai Melencu ,
With the above changes my left most column freeze is removed, I want to freeze first and last column, when I tried like this right column only got freezed for left I used the Grid "FreezeColumns", but it got overide by the below js. Kindly suggest how to freeze both left and right columns.
Hi,
With frozenCells, the supported scenarios are:
However, there is an important limitation: although the API exposes all four sides, you can only freeze cells on two sides at the same time:
So freezing both the first column and the last column in the same grid instance is not supported directly.
You can check the documentation here: FrozenCells API
______
My recommendation would be to place all columns that need to remain frozen on the same side of the grid, preferably on the left side.
From a technical point of view, this is the most stable and supported approach, because the standard freeze behavior works best when freezing a continuous block of columns from one side.
From a UX point of view, having the fixed columns grouped on one side is also cleaner and more predictable for the user.