Grid inside splitter avoid scroll

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

    Posted 27 Jul 2016 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
    Ianko avatar
    1940 posts

    Posted 29 Jul 2016 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: And the thread here might be also useful on the case: 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:

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