<style>
.e-grid .e-gridheader .e-columnheader{
display: none;
}
</style> |
<EjsGrid ID="Grid1" @ref="grid" TValue="Order" Toolbar="@(new List<string> { "Search"})" Height="50">
. . . . .. . . . .
</EjsGrid>
<EjsGrid ID="Grid2" @ref="grid" TValue="Order" Toolbar="@(new List<string> { "Search"})" Height="50">
. . . . . . . ..
</EjsGrid>
<EjsGrid ID="Grid3" @ref="grid" TValue="Order" Toolbar="@(new List<string> { "Search"})" Height="50">
. . . . . .. .
</EjsGrid>
<style>
#Grid1.e-grid .e-gridheader .e-columnheader,
#Grid3.e-grid .e-gridheader .e-columnheader {
display: none;
}
</style> |
|
<SfGrid ID="Grid" DataSource="@Orders" AllowPaging="true">
. . .
</SfGrid>
<style>
#Grid.e-grid .e-gridheader .e-columnheader {
display: none;
}
</style> |
For some weird reason, this doesn't work for me when I prefix ".e-grid" with #
.e-gridheader.e-columnheader { display: none; } .e-grid
Hi Dietfrid,
We have tried the method you mentioned for hiding the column header in the Syncfusion Blazor DataGrid by using the ID property and class name of the grid along with CSS. The issue you reported did not occur when we tested it. Please see the provided sample and video demo for more information.
If the reported issue still reproduced then kindly share the below details to validate further at our end.
The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible
Regards,
Naveen Palanivel