Hi Socrates,
Greetings from Syncfusion.
The reported problem occurs when the style reference was not
referred properly.
You have referred theme reference as
Syncfusion.Blazor.Themes in _Layout.cshtml file but you did not install Syncfusion.Blazor.Themes
NuGet in your application. If you refer to the styles using
Syncfusion.Blazor.Themes reference, then you need to install the
Syncfusion.Blazor.Themes NuGet in your application. Find the below reference
link.
https://blazor.syncfusion.com/documentation/datagrid/getting-started#add-style-sheet
(Or)
You refer to the below link instead of Syncfusion.Blazor.themes
reference.
|
[_Layout.cshtml]
<head>
. . .
<link rel='nofollow' href="PruebaGridFalla.styles.css" rel="stylesheet" />
@*<link
rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css"
rel="stylesheet" />*@
<link rel='nofollow' href="_content/Syncfusion.Blazor/styles/bootstrap5.css" rel="stylesheet" />
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
|
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SampleN-298376684
Please let us know if you have any concerns.
Regards,
Rahul