I'm trying to change the Editors textarea cols property using the following
var onCollapse = function(e) {
$('#editor').attr("cols", 200);
var editor = $("#editor").data("kendoEditor");
editor.update();
};
$('#Splitter').kendoSplitter({
collapse: onCollapse,
panes: [
{ size: "300px", min: "100px", max: "300px", collapsible: true},
{ size: "400px" }
]
});
I know the event is firing and that the value is getting changed, but the editor size stays the same. Also I have try changing the editors css width property to no avail. Thanks
var onCollapse = function(e) {
$('#editor').attr("cols", 200);
var editor = $("#editor").data("kendoEditor");
editor.update();
};
$('#Splitter').kendoSplitter({
collapse: onCollapse,
panes: [
{ size: "300px", min: "100px", max: "300px", collapsible: true},
{ size: "400px" }
]
});
I know the event is firing and that the value is getting changed, but the editor size stays the same. Also I have try changing the editors css width property to no avail. Thanks