You can use the same script but set the width
instead of height
and use scrollWidth
instead of scrollHeight
. If you need further assistance, please open a new support ticket and send me your sample project. Once I receive it, I will modify it in order to meet your requirements.
the Telerik team