how to create a responsive KendoReact Grid that adjusts its width dynamically based on the viewport without relying on fixed widths or the explicit width property
1 Answer, 1 is accepted
1
Accepted
Vessy
Telerik team
answered on 16 Dec 2024, 05:55 PM
Hello,
The KendoReact Grid is designed to be responsive by default and you can leverage its responsive capabilities out of the box. It behaves like a block-level element and automatically expands to fill the available 100% width of its parent container. This means you don't need to set any explicit width for the Grid itself neither to its columns to make the grid resizable based on the viewport space:
That means that I can't change width of grid columns relatively of my viewport width? For my task I need to change width of column dynamicly with viewport width, 'cause width: 100% and fixed width is not proper for my problem.