Filtering not working in jQuery dialog

May 11, 2015 at 7:52 AM
Filtering works fine in a MVC view and partial view. But filtering for the same grid in a jQuery dialog does not work. In the jQuery dialog the filter buttons are not rendered next to the column headers.

Typical Code:

@Html.Grid(Model).Columns(columns =>
{
columns.Add(o => o.RecordID)
        .Titled("Id");
columns.Add(o => o.OrderID)
        .Titled("Number")
        .Filterable(true);
columns.Add(o => o.Customer.CompanyName)
        .Titled("Company Name")
        .Filterable(true);
}).WithPaging(15).Sortable().Filterable().WithMultipleFilters()

Does anyone have a solution?