Freezing the headings

Docs

By setting the FrozenHeader property to true you can keep the heading rows at the top of the screen as you scroll down the grid.

Razor
                                
                                        
DbNetGridCore customersGrid = new DbNetGridCore("northwind", "customers")
{
    Columns = new List() { "CustomerId", "CompanyName", "ContactName", "ContactTitle", "Address", "City", "Region", "PostalCode", "Country", "Phone", "Fax" },
    ToolbarPosition = ToolbarPosition.Hidden,
    FrozenHeader = true
};
customersGrid.Column(new String[] { "CustomerId", "CompanyName", "ContactName", "ContactTitle", "Address", "City", "Region", "PostalCode", "Country", "Phone", "Fax" }).Filter();

@customersGrid.Render()