I am using the datagrid component on a page. For user requirements, I am using the solution found here so that the columns occupy all the available space.
The datagrid allows you to open and view the details of a project in a tab (in the application, not the browser). When I return to the tab containing the datagrid, the column widths seem to be recalculated, which causes readability issues for some of the columns.
Has anyone here observed similar behavior and could point me in the right direction to resolve it?
Hello @Vincent Perhirin
To make this more collaborative and to make sure the community is looking into the same use case that you're reporting, please share a sample oml where that can be reproduced and please indicate the steps to reproduce the scenario you mentioned (include a GIF/video if it's easier).
Cheers,GM
Hi @Gonçalo Martins Here is a video showing the behavior I was describing. Hope it will help to understand what it is happening.
Hi Vincent,
Hard to tell from the video, but if you're refreshing the data source, that could be causing the issue. In that case, make sure to re-run the same column width adjustment JavaScript in the actions where the refresh happens, and place it as the final step in the flow.
Hi @Vincent Perhirin
To properly analyse that we need an OML with a minimal reproduction.