Hide DataGrid Header in Blazor DataGrid Component

15 Dec 20221 minute to read

You can hide the DataGrid header by applying the following styles to the DataGrid component.

<style>
    .e-grid .e-gridheader .e-columnheader{
        display: none;
    }
</style>

NOTE

If you want to hide the header for particular DataGrid, then you can apply the above styles to that DataGrid using the ID (#Grid.e-grid .e-gridheader .e-columnheader) property value.