Update grid docs, metadata, and add new screenshots#1235
Merged
Conversation
Standardize XML docs for Blazor grid parameters, add API metadata attributes, and improve type safety by making parameters nullable where appropriate. Remove obsolete PaginationAlignment parameter. Update demo screenshot references and add new image files for grid features, nested grids, and translations. No functional changes; all updates are documentation, API surface, or demo assets.
Changed AdditionalAttributes to nullable in base components for Blazor convention compliance. Cleaned up Grid documentation by removing duplicate and misplaced "GridColumn Parameters" sections and improving order.
Added [AddedVersion], [DefaultValue], and [Description] attributes to public properties and methods in Grid-related components for enhanced documentation and tooling support. Updated several RenderFragment properties to be nullable and removed default initializations for better null-safety. Annotated new public methods and events with version and description metadata. These changes improve API discoverability and maintainability.
- Enhance XML docs and add `[Description]`/`[DefaultValue]` to all parameters - Use nullable reference types for optional parameters - Add `[EditorRequired]` to required template/column content - Switch docs and code to generic types (`TItem`) for better type inference - Add async select/unselect all methods to `Grid<TItem>` - Make parameters like `FiltersRowCssClass` and `HeaderRowCssClass` nullable - Add null checks and null-forgiving operators for robustness - Update docs to include new template components and generic parameter tables - Ensure consistent documentation and default value annotations throughout - Minor refactoring for clarity and code cleanup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardize XML docs for Blazor grid parameters, add API metadata attributes, and improve type safety by making parameters nullable where appropriate. Remove obsolete PaginationAlignment parameter. Update demo screenshot references and add new image files for grid features, nested grids, and translations. No functional changes; all updates are documentation, API surface, or demo assets.