Text appearng below header
When I add a Syncfusion grid to my razor page in blazor I am getting text between the column headers and the first row. See below. Any help would be appreciated. rlm
Solved by adding this to my index page html:
<link
rel='nofollow' href = "_content/Syncfusion.Blazor/styles/bootstrap4.css"
rel = "stylesheet"/>
Hi Richard Morrell,
Based on the reported problem, the theme references are not correctly defined
in your project, which is why you are facing this issue. But we are happy to
hear that the reported issue has been resolved on your end,
For more information about the necessary themes and scripts included in your
App. razor file, please refer to the documentation
If you are using Syncfusion.Blazor single NuGet. If this is the case, we
recommend referring to the attached code snippet and our documentation for
further assistance.
Note:If you are Syncfusion.Blazor single NuGet you don’t need to
install the Syncfusion.Blazor.Themes Nuegt.
|
App.Razor <html lang="en">
<head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <base rel='nofollow' href="/" /> <link rel="stylesheet" rel='nofollow' href="bootstrap/bootstrap.min.css" /> <link rel="stylesheet" rel='nofollow' href="app.css" /> <link rel="stylesheet" rel='nofollow' href="BlazorApp3.styles.css" /> <link rel="icon" type="image/png" rel='nofollow' href="favicon.png" /> <link rel='nofollow' href="_content/Syncfusion.Blazor/styles/bootstrap5.css" rel="stylesheet" /> <HeadOutlet /> </head>
<body> <Routes />
<script
src="_framework/blazor.web.js"></script>
<!--Use below script reference if you are using Syncfusion.Blazor Single NuGet--> <script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
</body>
</html>
|
Documentation: Getting
Started with Blazor DataGrid Component | Syncfusion
Regards,
Prathap Senthil
- 2 Replies
- 2 Participants
-
RM Richard Morrell
- Nov 23, 2024 12:47 PM UTC
- Nov 25, 2024 12:11 PM UTC