Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
vertical align of cells
posted

I have a grid that has a cell that contains more than one line of data which expands the height of the row to fit that data... this is good it is what i want it to do... however in the other columns the data is centered vertically... this is not good.  I've tried the following and neither option seems to be working... what should i do?

grdNotifications.DisplayLayout.Bands(0).Columns.FromKey("FirstName").CellStyle.VerticalAlign = VerticalAlign.Top
grdNotifications.DisplayLayout.Bands(0).Columns.FromKey("FirstName").CellStyle.CustomRules = "vertical-align:top;"