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

Splitter.size issues after updating kendo web

1 Answer 60 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Omer
Top achievements
Rank 1
Omer asked on 27 Mar 2014, 05:43 AM
I just updated to the new web library, and now my splitter size methods are not working.

var splitter = $('#splitter').data('kendoSplitter');
splitter.size(
'#wb_queueDetails', (simulatedPanels*Globals.widthMultiplier/2)+'px');


This was working just fine with the previous version

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 27 Mar 2014, 01:44 PM
Hello Omer,

There should be no problems with the Splitter's size() method. You can make the following test:

1. Open the following demo

http://demos.telerik.com/kendo-ui/web/splitter/index.html

2. Open the browser's Javascript console.

3. Execute the following code to resize the top-left pane:

$("#horizontal").data("kendoSplitter").size("#left-pane", "300px");


In case you are using .trigger("resize") for a Splitter, this is now changed to .resize(), as explained in our documentation.

http://docs.telerik.com/kendo-ui/getting-started/changes-and-backward-compatibility#changes-from-2013-q2-sp1-(2013.2.918)


Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Splitter
Asked by
Omer
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or