Skip to content

Conversation

@artem-kurchenko
Copy link
Contributor

  • Remove defaultColumns prop which is redundant when columns are explicitly defined
  • Use Column components mapped from columns array

- Remove defaultColumns prop which is redundant when columns are explicitly defined
- Use Column components mapped from columns array for better clarity
@artem-kurchenko artem-kurchenko self-assigned this Oct 23, 2025
@artem-kurchenko artem-kurchenko requested a review from a team as a code owner October 23, 2025 08:29
@Copilot Copilot AI review requested due to automatic review settings October 23, 2025 08:29
Copy link

Copilot AI left a comment

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 fixes a redundancy in the React DataGrid SimpleArray demo by removing the defaultColumns prop that was unnecessary when columns are explicitly defined through Column components.

Key changes:

  • Removed redundant defaultColumns prop from DataGrid component
  • Retained explicit Column component mapping which properly defines the grid columns

Alyar666
Alyar666 previously approved these changes Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants