Given this code:
cols - API Reference - Kendo UI TextArea - Kendo UI for jQuery (telerik.com)
If I change the cols from 30 to 3 it doesn't seem to change the width of the textarea? Isn't the width of the textarea supposed to decrease?
<textarea id="description"></textarea>
<script>
$("#description").kendoTextArea({
rows:20,
cols:30,
resizable: "vertical"
})
</script>
Is this a bug?
Thanks!
George
Hi George,
The "cols" property has been removed and is no longer available. Below you will find a link to our repository and the communication behind the decision:
https://github.com/telerik/kendo-themes/pull/1700#issuecomment-664230864
The property will be removed from the API. Please excuse us for the inconvenience.
To change the width od the TextArea you can simply use CSS:
<style> .k-textarea{ width: 500px; } </style>
Here you will find the modified example: https://dojo.telerik.com/@NeliK/oZoFiyOH
Regards,
Neli