Search results

Hide DataGrid Header in Blazor DataGrid component

20 Apr 2021 / 1 minute to read

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

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

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.