This is a migrated thread and some comments may be shown as answers.

height grid percentage

1 Answer 199 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 27 May 2018, 07:47 AM

Hi,

I want to set my grid in percentage  and not by pixels, I don't find the way to do it, because although I set the grid to be set by percentage it's always required pixels in the div uses the class "k-grid-content"

can you help me? I want the grid to look good in pc and also in laptop/

Thanks!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 May 2018, 06:11 AM
Hello, Michael,

The Grid can be set in % only based on its parent container.

We have an article on how to expand it on 100% of the parent container:

https://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Layout/resize-grid-when-the-window-is-resized

Also, the height article can prove useful as well:

https://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#height

I hope this is helpful.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or