Kendo Spreadsheet Range text rotate 90 degree

1 Answer 131 Views
Spreadsheet
Norbert
Top achievements
Rank 1
Norbert asked on 17 Feb 2023, 01:52 PM

Dear Support

Is it possible to rotate text by 90 degree in spreadsheet ranges. I would like to rotate the text only in some specific ranges. I searched for this solution a lot without success. Any of kendo spreadsheet version does support it? Or is there any other jQuery solution for it?

Thank you!

Best Regards,

Norbert

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 22 Feb 2023, 08:29 AM

Hello, Norbert,

Please take a look at this Dojo example and let me know if that is what you are looking for.

Looking forward to your reply.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Norbert
Top achievements
Rank 1
commented on 23 Feb 2023, 05:34 PM

Thank you very much! :-)
Jeffrey
Top achievements
Rank 1
Veteran
Iron
Iron
commented on 18 Sep 2024, 09:39 PM

Is there a way to only rotate specific cells?

Also, if you have rotated text in a spreadsheet will it load?

Thank you

Jeffrey

Neli
Telerik team
commented on 23 Sep 2024, 09:48 AM

Hi Jeffrey,

You could rotate the text in specific cell by using more specific selector.

$('.k-spreadsheet .k-spreadsheet-cell > .k-vertical-align-center:eq(1)').css('writing-mode', 'vertical-rl').css('text-orientation', 'mixed')

Here you will find the modified example: - https://dojo.telerik.com/@NeliK/OfuPaFaz.

Regarding the second question - Also, if you have rotated text in a spreadsheet will it load? - The Spreadsheet will load with rotated text. However, could you please specify do you need to rotate the text only in the Spreadsheet content or also in its tools?

Let me know in case you have any additional questions.

Regards,

Neli

Tags
Spreadsheet
Asked by
Norbert
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or