We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Font-Size does't work

Thread ID:

Created:

Updated:

Platform:

Replies:

118972 Apr 29,2015 12:15 PM May 4,2015 09:55 AM ASP.NET Web Forms 3
loading
Tags: Grid
Henrique
Asked On April 29, 2015 12:15 PM

Hi,

The original font-size is too big and the property Font-Size is not working.
Is there a way to solve this?

<ej:Grid 
ID="grdMapaAcao" 
runat='server' 
AllowPaging="True" 
AllowSorting="True" 
MinWidth="0" 
DataSourceID="edsMapaAcao" 
DataMember="DefaultView" 
AllowGrouping="True" 
AllowMultiSorting="True" 
AllowResizeToFit="True" 
OnServerRowSelected="grdMapaAcao_ServerRowSelected" 
Locale="pt-BR" Font-Size="8pt" >
<Columns>
<ej:Column DataType="number" Field="id" IsPrimaryKey="True"></ej:Column>
<ej:Column DataType="string" Field="mes"></ej:Column>
<ej:Column DataType="string" Field="Canal"></ej:Column>
<ej:Column DataType="string" Field="Divisao"></ej:Column>
<ej:Column DataType="string" Field="bu"></ej:Column>
<ej:Column DataType="string" Field="tipoVerba"></ej:Column>
<ej:Column DataType="string" Field="marca"></ej:Column>
<ej:Column DataType="string" Field="nomeAcao"></ej:Column>
<ej:Column DataType="number" Field="vlrCustoAcao"></ej:Column>
<ej:Column DataType="number" Field="volIncremental"></ej:Column>
<ej:Column DataType="number" Field="volRealizado"></ej:Column>
<ej:Column DataType="string" Field="userComprovacao"></ej:Column>
</Columns>
<PageSettings Template=""></PageSettings>
<ScrollSettings EnableTouchScroll="False"></ScrollSettings>
</ej:Grid>


Regards,

Hernique

Sellappandi Ramu [Syncfusion]
Replied On April 30, 2015 09:50 AM

Hi Marcelo,

Thanks for using Syncfusion Products.

We have analyzed your code snippet and found that you have used Font-Size property in your sample to customize the style. So we suggest you to use CSSClass property to customize the grid. Based on your requirement we have created a sample and it can be downloaded from following link location.

Sample link: Sample.zip

In the above sample we have used CssClass property in Grid to customize the grid size. Please refer the below code snippet.


<ej:Grid ID="OrdersGrid" runat="server" AllowPaging="True" AllowSorting="true" MinWidth="0" AllowGrouping="true" AllowMultiSorting="true" AllowResizeToFit="true" Locale="pt-BR" CssClass="gridfont" >


</ej:Grid>

<style>

.gridfont, .e-grid .e-headercelldiv{

font-size: 20px;

}
</style>


Please let us know if you have any queries.

Regards,
Sellappandi R

Henrique
Replied On May 1, 2015 10:39 AM

Hi,

Thank you very much, worked perfectly.

Regards

Henrique

Sellappandi Ramu [Syncfusion]
Replied On May 4, 2015 09:55 AM

Hi Marcelo,

Thanks for the update.

We are happy to hear that your issues have been resolved.

Please get back to us if you need any further assistance we are happy to assist you.

Regards,
Sellappandi R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;