Grid inside splitter avoid scroll

2 posts, 0 answers
  1. Luis
    Luis avatar
    6 posts
    Member since:
    Sep 2015

    Posted 27 Jul Link to this post

    Hello I have a grid inside a horizontal Pane inside a splitter pane. I need the splitter pane to increase its height automatically according the size of the grid and not trigger scrolling inside the splitter.

    Thank you

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 29 Jul Link to this post

    Hello Luis,

    The size calculation in Kendo Splitter happens from the outside to the inside. You can read more about  that in this forum post: http://www.telerik.com/forums/grid-100-height#9AlrQ3unI0a08VEY9RfrxQ. And the thread here might be also useful on the case: http://www.telerik.com/forums/grid-100-height#jMp5aPGYEUad5JxrLMWN0A. Which means that it is the parent elements that control the size of the splitter rather the panes' content. 

    That said, it is up to further logic to dynamically change the parent's height and resize the splitter according to the content. 

    Basically, with the grid you need the appropriate event that indicates that it is rendered, like dataBound. And with that event change the document's body's height. Finally, call the splitter's resize() method. You can see an example about that here: http://dojo.telerik.com/ucEQu.

    Regards,
    Ianko
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top