Add column pinning custom theme samples for Grid, Hierarchical Grid, and Tree Grid#934
Add column pinning custom theme samples for Grid, Hierarchical Grid, and Tree Grid#934
Conversation
…and tree-grid Co-authored-by: tishko0 <15924795+tishko0@users.noreply.github.com>
Co-authored-by: tishko0 <15924795+tishko0@users.noreply.github.com>
|
@copilot in the hierarchical grid sample, please add data in the rowisland of the 1st item as well. Currently it is empty and it is confusing. Users usually click on the first row of a hierarchical grid first. Also add a little more data in each row island. |
…tion Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
Done in commit 1a7cbce. Enhanced the hierarchical grid sample data: First customer (VINET): Now has 3 orders with 12 total order details (previously had 1 order with 3 details)
Second customer (TOMSP): Now has 2 orders with 6 total order details
Third customer (HANAR): Now has 2 orders with 7 total order details
When users expand the first row, they'll now see multiple orders in the row island with rich nested data, making it a better demonstration of the hierarchical grid functionality. |
|
@copilot I want all the CustomerID to be unique since this is a primary key in all data files. Also make sure the first item in hierarchical grid has data in the rowisland. |
…meric suffixes Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
Done in commit 1f13725. CustomerID Uniqueness Fixed:
First Customer Row Island Verified:
The first customer has rich nested data in the row island for proper demonstration. |
|
@copilot do the following changes in the 3 tsx component files:
|
… meaningful names Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
Done in commit e571df3. All requested changes applied to the three components:
Code reduced by 28-44% per component with simpler, more modern React patterns. |
Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
…ization Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
…e grid class instantiation Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
|
@copilot leave the |
…riate than useMemo) Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
…indentation Co-authored-by: MarielaTihova <28449885+MarielaTihova@users.noreply.github.com>
Done in commit 83b86c1. Added Changes:
Results:
Code is now much more readable with proper formatting. |
Summary
Successfully created three new column pinning samples with custom palette theming:
samples/grids/grid/column-pinning-custom-theme/samples/grids/hierarchical-grid/column-pinning-custom-theme/samples/grids/tree-grid/column-pinning-custom-theme/Component Implementation
Modern React Patterns:
Code Quality:
Data Enhancements:
Original prompt
Fixes #933
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.