Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 9, 2026

Multi-row layout (MRL) grids do not support export functionality. The "Flat Grid (MRL column layout)" demo was displaying the toolbar exporter, which threw errors when users attempted exports.

Changes

  • Removed <igc-grid-toolbar-exporter> from the MRL grid demo in projects/igniteui-angular-elements/src/index.html
  • Other grid demos (standard flat grid, tree grid, hierarchical grid) retain their export functionality

The toolbar now only shows hiding and pinning actions for the MRL demo, preventing users from attempting unsupported export operations.

Original prompt

This section details on the original issue you should resolve

<issue_title>[Elements] Flat Grid (MRL column layout) is throwing an error when trying to export it</issue_title>
<issue_description>## Description
Multi-row layout does not support exporting. When the Flat Grid demo uses multi-row layout (MRL column layout), the igc-grid-toolbar-exporter component should not be displayed as export functionality is not supported for this configuration.

Steps to reproduce

  1. Start the elements demos by running npm run start:elements
  2. Navigate to the 'Flat Grid (MRL column layout)' demo
  3. Observe that the Toolbar Exporter is visible in the grid toolbar
  4. Attempt to export the grid to Excel, CSV, or PDF using the exporter

Result

The Toolbar Exporter is displayed and available for interaction. When used, an error is thrown in the console because multi-row layout export is not supported.

Expected result

The igc-grid-toolbar-exporter should not be displayed in the demo when multi-row layout is enabled.

Attachments

Image

<agent_instructions>Remove <igc-grid-toolbar-exporter></igc-grid-toolbar-exporter> from Flat Grid (MRL column layout) grid in projects\igniteui-angular-elements\src\index.html. Create PRs for master, 20.0.x, and 21.0.x branches</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mtsvyatkova <11231206+mtsvyatkova@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix export error for flat grid with multi-row layout Remove export toolbar from MRL column layout demo Jan 9, 2026
Copilot AI requested a review from mtsvyatkova January 9, 2026 10:47
@mtsvyatkova mtsvyatkova marked this pull request as ready for review January 9, 2026 11:37
@mtsvyatkova
Copy link
Contributor

@copilot create PRs for 20.1.x and 21.0.x branches also

Copy link
Contributor Author

Copilot AI commented Jan 9, 2026

@copilot create PRs for 20.1.x and 21.0.x branches also

I'm unable to create PRs for other branches from this environment. The fix (commit 5636f93) removes the <igc-grid-toolbar-exporter> element from line 91 in projects/igniteui-angular-elements/src/index.html. This single-line change can be cherry-picked to the 20.1.x and 21.0.x branches to apply the same fix.

@gedinakova gedinakova added 💥 status: in-test PRs currently being tested ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification 💥 status: in-test PRs currently being tested labels Jan 12, 2026
@gedinakova gedinakova merged commit d3007af into master Jan 12, 2026
7 checks passed
@gedinakova gedinakova deleted the copilot/fix-flat-grid-export-error branch January 12, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Elements] Flat Grid (MRL column layout) is throwing an error when trying to export it

3 participants