Hi Mirza,
Thanks for contacting Syncfusion support.
We have already a documentation for customize the grid appearance.
For your convenience we created a sample and in this sample we customize the grid column header.
Find the code example, screenshot and sample:
<ej:Grid ID="Grid" runat="server" AllowPaging="True">
--------------------
<Columns>
--------------
</Columns>
</ej:Grid>
<style>
.e-grid .e-headercell {
background-color : chocolate;
}
</style>
|
Screenshot:
If you want to customize the particular column, use cssClass property of columns. This property is used to customize the specific column.
Refer to the Help document for the cssClass property.
Query : “How can I exclude CSS from embedded resource?”
We suspect that the LoadEJResourcesFromAssembly key is set as true in the web.config file. If we set as true the necessary stylesheets will be added in header section of current page dynamically to render the EJ components .If we set LoadEJResourcesFromAssembly as false, then we want to refer the stylesheet and script files explicitly. If you want to load the script files from EJ assembly and refer stylesheet explicitly, set false to themes in that key.
<add key="LoadEJResourcesFromAssembly" value="true" />
<add key="EJResources" value="jsrender:true;jqueryeasing:true;themes:false;" />
|
Regards,
Prasanna Kumar N.S.V