GridLayout: Chnage VerticalAlign for a single Cell

1 Answer 75 Views
GridLayout
Hendrik
Top achievements
Rank 1
Iron
Iron
Iron
Hendrik asked on 13 May 2023, 02:50 PM

I love the GridLayout-Component. I use it a lot.

I mostly set the Grid Parameter "VerticalAlign" to Center. But that is for all the Cells in the Grid.

But sometimes I want to set the Alignment of just one Cell to e.g. "Top".

How is that possible ? It would be a great feature having this Property for each GridItem...

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 17 May 2023, 11:01 AM

Hi Hendrik,

Set a Class to the GridLayoutItem and use it to apply an align-self style.

REPL example

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Hendrik
Top achievements
Rank 1
Iron
Iron
Iron
commented on 17 May 2023, 11:13 AM

Works like a charm !

Thank you very much !!!

Tags
GridLayout
Asked by
Hendrik
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or