change the font in WebGrid HTML 5 - text overlaps one another

3 replies. Last post: November 6, 2013 9:46 PM by Hans Kristian
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi


I would like to change font in webgrid to Verdana.

When long text is displayed in the column that the data is hidden and appear the sign ...

like - see attach file:  webgrid default font.jpg


When I change font like:


WebGrid1.LayoutSettings.AlternatingRowStyle.Font.Name = "Verdana";

WebGrid1.LayoutSettings.AlternatingRowStyle.Font.Size = FontUnit.Point(8);

WebGrid1.LayoutSettings.RowStyle.Font.Name = "Verdana";

WebGrid1.LayoutSettings.RowStyle.Font.Size = FontUnit.Point(8);

WebGrid1.RootTable.RowStyle.BackColor = System.Drawing.Color.White;


I get the font that I want, and the information in the column beyond its scope - the width

see attach file:  webgrid change font.jpg 

text overlaps one another


How can I force the action as the default font?


thx


Adam


All times are GMT -5. The time now is 8:48 PM.
Previous Next