This question is locked. New answers and comments are not allowed.
Hi,
I'm using the grid to display my data. Sometimes another column in the row would have alot of data, then the data in the other columns are vertically centered. I tried adding an HTML attribute to the column as such:
columns.Bound(m => m.ApplicationID).Width("6%").Title("ID").HtmlAttributes(new { valign = "top" });
In the view source it looks like this:
<td valign="top">1</td>
After adding this attribute it still does not display correct. It is still vertically centered. How can I fix this so that my data is at the top of the cell?
Is it also possible to put this in my stylesheet?
Thanks.
Brendan
I'm using the grid to display my data. Sometimes another column in the row would have alot of data, then the data in the other columns are vertically centered. I tried adding an HTML attribute to the column as such:
columns.Bound(m => m.ApplicationID).Width("6%").Title("ID").HtmlAttributes(new { valign = "top" });
In the view source it looks like this:
<td valign="top">1</td>
After adding this attribute it still does not display correct. It is still vertically centered. How can I fix this so that my data is at the top of the cell?
Is it also possible to put this in my stylesheet?
Thanks.
Brendan