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

Abierto
#1,243 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
bootstrap, csharp
Área
frontend

Línea de trabajo

Start with the linked Grid settings demo, BlazorBootstrap.Demo.RCL/Components/Pages/Demos/Grid/08-grid-settings/Grid_Demo_16_Save_And_Load_Grid_Settings.razor, and trace how saved settings restore filters for columns with IsVisible="false". Reproduce the steps in the issue and inspect the Grid filter UI and settings restoration entry points. Done means saved filters remain visible in the filter headers after returning to the page, while the data stays filtered.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
HTML
Estrellas
1.2k
Forks
111
Merge medio
4 min
PR fusionados (30 d)
55

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de vikramlearning/blazorbootstrap

Todos los issues de vikramlearning/blazorbootstrap

Issues similares

Más issues de Web Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.