dotnet / dotnet/aspnetcore

QuickGrid: expose list of columns via public method or making protected

Open
#45,398 4 comments 1 reaction 0 assignees View on GitHub
area-blazor enhancement feature-blazor-quickgrid
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

We’re building a new component that extends the QuickGrid component. Our component inherits from QuickGrid and is adding functionality that we need. Some functionality we’re looking to implement requires our component have the ability to enumerate through the QuickGrid column list and get the column header values.

This presents an issue as the _columns list in QuickGrid.razor.cs is marked private and we’re not able to access it.

### Describe the solution you'd like

- Could this be changed to protected to allow our inheriting class access without making it public?

- Alternatively could there be a public method exposed to return the list of columns.

### Additional context

QuickGrid.razor.cs line 113

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.