This is a migrated thread and some comments may be shown as answers.
Vertical Align Cell Top in Kendo Grid
1 Answer 5 Views
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 2
Roger asked on 24 Mar 2021, 10:43 PM
I have a two column grid in which the second column contains html and can be quite tall.  As a result, the value in my first column is often hidden until I scroll down.  Is there a way that I can top-align the values in the first column?  I can find it it for spreadsheet columns but not grid.  Any assistance in this greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Anton Mironov
Telerik team
answered on 29 Mar 2021, 02:01 PM

Hi Roger,

Thank you for the details provided.

In order to achieve the desired behavior, I would recommend using CSS style for the case. Try to set the "vertical-align" to "top". Use the table data(td element) as a selector.

Here are examples of different types of positioning the text in td with the help of CSS stylings:

I hope this information helps. If further assistance is needed for the case, provide a runnable sample of your application and I will try my best to achieve the requirements.


Kind Regards,
Anton Mironov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Roger
Top achievements
Rank 2
Answers by
Anton Mironov
Telerik team
Share this question
or