Very simple grid fails. I followed the page published "Getting Started with Blazor DataGrid Component".


3 Replies 1 reply marked as answer

RN Rahul Narayanasamy Syncfusion Team April 26, 2022 02:24 PM UTC

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



SA socrates anibal rivera rivera April 26, 2022 05:26 PM UTC

I am very sorry.

I apologize.

My mistake.

Thank you very much.

I will close this incident.

Best regards,

Sócrates A Rivera R


Marked as answer

RN Rahul Narayanasamy Syncfusion Team April 27, 2022 07:01 AM UTC

Hi Socrates,


Thanks for the update.


Please get back to us if you need further assistance.


Regards,

Rahul


Loader.
Up arrow icon