Skip to content

Grid GridColumn IsVisible hides filter values when loading from SettingsProvider if false #1243

@cacowen

Description

@cacowen

Describe the bug
In the Grid component - When using:

  • SettingsProvider (apply saved settings)
  • IsVisible parameter in a GridColumn set to FALSE

The filter gets applied to the data set, but does not show up in the UI

To Reproduce
Steps to reproduce the behavior:

  1. Add IsVisible="false" to any one of the GridColumn components in the Grid Settings example
  2. Go to the page and set a filter
  3. Leave the page and come back
  4. See the data is filtered but the filter headers are empty

Expected behavior
The filter headers should indicate what the active filters are

Versions:

  • .NET Version: .NET 8
  • BlazorBootstrap: 3.5
  • Blazor WebAssembly / Server: WebAssembly
  • Blazor Interactive Render Mode: WebAssembly
  • Blazor Interactivity Location: Global

Sample code
using Grid Settings demo code + IsVisible="false"

GitHub repo
Save_And_Load_Grid_Settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions