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
1215
WebDataGrid Row Height
posted

How do you set the default WebDataGrid row height?  The default seems to be 31 pixels.  (See attached image.)

The code below doesn't work.  It gets called, but the row height doesn't change unless you use a number greater than 31.

protected void WebDataGrid1_InitializeRow(object sender, RowEventArgs e)
{
    e.Row.Height = Unit.Pixel(20);
}