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

Splitter makes height super small?

1 Answer 48 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Iron
Mark asked on 20 Apr 2021, 11:48 AM

Hello,

I have 2 divs that I want to have a splitter between.  For the top div I am using the Kendo UI scheduler module. I want this to have height of around 700. Under it I have a grid with "tasks" that I can drag and drop in the scheduler. When i am using the splitter the 2 divs become very small (splitter1.png)

It looks like that Kendo is giving the div1 a default height that is constanly overwritten? (splitter2.png).

 

So my question is: How can I keep the height that I define through the backend code?

Thanks,
Mark

 

1 Answer, 1 is accepted

Sort by
0
Stoyan
Telerik team
answered on 23 Apr 2021, 11:37 AM

Hello Mark,

To resize a pane of the Splitter use its size method. It allows you to dynamically resize the Splitter. 

splitter.size(".k-pane:first", "40%");

Check the second example in the above link.

Let me know if the size method resolves your issue.

Regards,
Stoyan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Splitter
Asked by
Mark
Top achievements
Rank 1
Iron
Answers by
Stoyan
Telerik team
Share this question
or