-
Notifications
You must be signed in to change notification settings - Fork 461
[DataGrid] Make Grid in ColumnBase public again
#2342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
✅ All tests passed successfully Details on your Workflow / Core Tests page. |
Summary - Unit Tests Code CoverageSummary
CoverageMicrosoft.FluentUI.AspNetCore.Components - 61.4%
|
|
Why do we need to set |
|
When devs want to create their own custom column (derived from ColumnBase), they need to be able to access the Grid parameter. Protected should suffice for that as well yes. Will change. |
|
I have another use case for Grid to be public. If I wanted to create a reusable column header component that I pass in using HeaderCellItemTemplate I can do so using the "context" parameter eg. |
|
I can live with that, Protected is meant for giving access for derived classes so it covers the use case well. Dev should be able to spot/fix easily |
Oh god, it just broken our existing code...... |
Take a look at how it is done in the Aspire repo. They have created their own |
Title says it all