height grid percentage

2 posts, 0 answers
  1. Michael
    Michael avatar
    50 posts
    Member since:
    May 2014

    Posted 27 May 2018 Link to this post

    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!

  2. Stefan
    Admin
    Stefan avatar
    2950 posts

    Posted 29 May 2018 Link to this post

    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.
Back to Top