Closed PristinoVivek closed 3 months ago
@PristinoVivek Thank you for using BlazorBootstrap. Please provide the below details.
.NET Version: [e.g. .NET 6, .NET 7, .NET 8] BlazorBootstrap: [e.g. 2.0.0, 2.1.0, 2.2.0, 3.0.0-preview1] Blazor WebAssembly / Server: [e.g. WebAssembly, Server] Blazor Interactive Render Mode: [e.g. Auto, Server, WebAssembly, None] Blazor Interactivity Location: [e.g. Global, Per page/component] Link to the example referred:
@gvreddy04 - Thank you for the response. Please find below details as requested.
.NET Version: .NET 8 BlazorBootstrap: 3.0.0-preview1 Blazor WebAssembly / Server: Server Blazor Interactive Render Mode: Server Blazor Interactivity Location: Global Link to the example referred: https://demos.blazorbootstrap.com/grid#data-parameter-assign-collection (used first one: Client side filtering, paging, and sorting)
I've had this issue as well; the filter request does appear in the GridDataProviderRequest
so that isn't the problem.
@PristinoVivek I can replicate the issue. The issue is with the Employee1 model properties. Please see the expected model and screenshots for reference.
{
public int Id { get; set; }
public string Name { get; set; }
public string Designation { get; set; }
public DateOnly DOJ { get; set; }
public bool IsActive { get; set; }
}
Thank you. Issue Resolved.
Have used your sample code for Grid filtering. Visually shows Filter icon but missing astrics, on typing filter criteria it does not do anything.
adding sample code used:
@page "/GridExamples"
<Grid @ref="grid" TItem="Employee1" Class="table table-hover table-bordered table-striped" DataProvider="EmployeesDataProvider" AllowFiltering="true" Responsive="true">
@code { BlazorBootstrap.Grid grid = default!;
private IEnumerable employees = default!;
}