valign in DataGrid Column

  • Thread starter Thread starter Cezar
  • Start date Start date
C

Cezar

Hello,

I need to valign the content of the columns in DataGrid. I tried the
obvious thing
Valign = "top" in <asp:DataGrid ..> but it doesn't seem to be working.
Besides working with DataGridColumnStyle there is any other simple way of
setting the valign property?

Thank you
Cezar
 
Check the ItemStyle property:

<asp:DataGrid>
<ItemStyle VerticalAlign=Top></ItemStyle>
</asp:DataGrid>
 
Back
Top