Grid - Column Height

1 Answer 83 Views
Grid
Gaysorn
Top achievements
Rank 1
Iron
Gaysorn asked on 19 Jul 2021, 08:23 PM
I would like to set the column height in the grid. This grid will have one edit column with around 8000 characters. How do I handle this large information in one column.

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 22 Jul 2021, 12:19 PM

Hello, Gaysorn,

It is not possible to change the height of a single column. You can set the white-space property of the cells to "none", this would display all of the text in the cell, however it would also increase the height of all other cells on the row. Here's an example:

    <style>
      td { white-space:none }
    </style>

Here is a runnable dojo which you can examine:

https://dojo.telerik.com/@gdenchev/OxePIwEp 

You can edit the cells in order to add more text.

You could also check this article which showcases how you can display a tooltip when the cell is hovered:

https://docs.telerik.com/kendo-ui/knowledge-base/grid-ellipsis-text-show-tooltip 

This way there is no need to display all of the information in the cell.

Best Regards,
Georgi Denchev
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.

Tags
Grid
Asked by
Gaysorn
Top achievements
Rank 1
Iron
Answers by
Georgi Denchev
Telerik team
Share this question
or