Another problem with Horizontal Scrolling in Datagrid

Hi, Good Guys
I created simple DataGrid, but the horizontal scrolling not working for this DataGrid, but after starting the application I saw it for all page.
How to remove this horizontal scrolling from all Page mode and put it just on DataGrid?
Thanks in advance!

Hi @Khayol,

You need to set width for this grid.

The column width was set before this problem.
May be another option?

@enchev Maybe you had something else?
ColumnWidth = "200px" did not help

You need to use the Style property of the DataGrid to set its width:

<RadzenGrid Style="width: 500px">

1 Like

thank you @korchev
It's worked!

I fixed this problem with a style on the grid :
width: calc(100vw - 380px);
(better is to put that on a css class)

where 380px is the size of the sidebar


3 years later, answer still useful