Question about css: two data grids

0
Hi all I have a question about two data grid next to each other on one page. One data grid listens to the other. When i scroll down the left one, i want the right one to stay at the top of the screen.   How can i do this? I think something with css and a scroll container?
asked
1 answers
1

Hi Elwin,

Put the grid into a container and give it this styling:

position: sticky;
top: 10px;

When you scroll, this container will stick to the top.

answered