Skip to content

fix(skills): omit column widths by default in generated grid code#227

Open
onlyexeption wants to merge 1 commit into
masterfrom
ibarakov/fix-1696-cli
Open

fix(skills): omit column widths by default in generated grid code#227
onlyexeption wants to merge 1 commit into
masterfrom
ibarakov/fix-1696-cli

Conversation

@onlyexeption

Copy link
Copy Markdown
Contributor

Description

Closes #1696

Motivation / Context

Type of Change (check all that apply):

  • Bug fix
  • New functionality
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes)
  • Documentation
  • Demos
  • CI/CD
  • Tests
  • Changelog

Component(s) / Area(s) Affected:

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Automated e2e tests

Test Configuration:

  • .NET version:
  • Hosting model:
  • Browser(s):
  • OS:

Screenshots / Recordings

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code
  • This PR includes API docs for newly added methods/properties
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes behavioral changes and the feature specification has been updated with them
  • Accessibility (ARIA, keyboard navigation, focus management) has been verified

Closes #

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the igniteui-blazor-grids skill reference docs to encourage generated grid code to omit per-column Width by default, improving responsive column distribution and avoiding empty right-side gaps unless fixed sizing is explicitly requested.

Changes:

  • Removed explicit Width usage from IgbGridLiteColumn examples.
  • Added/updated “omit column Width by default” guidance in general grid rules (structure.md) and sizing rules (sizing.md).
  • Expanded sizing guidance around column virtualization when widths aren’t specified.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
skills/igniteui-blazor-grids/references/types.md Removes explicit column Width from Grid Lite usage examples.
skills/igniteui-blazor-grids/references/structure.md Adds a key rule to omit column Width unless explicitly requested.
skills/igniteui-blazor-grids/references/sizing.md Moves “omit column Width” guidance into sizing rules and updates virtualization guidance.

Comment on lines +269 to 271
2. **Always set `Height` for performance** - without it, virtualization is disabled and all rows render to the DOM.
2. **Percentage height needs a sized parent** - `Height="100%"` only works if the parent element has an explicit height.
3. **Box model is border-box** - column widths include padding and borders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CLI MCP] [Blazor]: Grid columns are generated with fixed pixel widths, leaving large empty space in the grid

2 participants