Help Needed with Creating nested tables in one Data-Grid View #2426
Unanswered
vasanth-seven
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
I think you are going to need to normalize/flatten the data yourself (including with some code). const data = [
{ bondName: "bond1", bondType: "bids", broker: "broker2", price: 98, units: 1},
{ bondName: "bond1", bondType: "bids", broker: "broker1", price: 100, units: 1},
{ bondName: "bond1", bondType: "bids", broker: "broker3", price: 110, units: 2},
{ bondName: "bond1", bondType: "offers", broker: "broker2", price: 98, units: 1},
{ bondName: "bond1", bondType: "offers", broker: "broker5", price: 100, units: 1},
{ bondName: "bond2", bondType: "bids", broker: "broker2", price: 98, units: 1},
{ bondName: "bond2", bondType: "bids", broker: "broker1", price: 100, units: 1},
{ bondName: "bond2", bondType: "offers", broker: "broker2", price: 98, units: 1},
{ bondName: "bond2", bondType: "offers", broker: "broker5", price: 100, units: 1},
{ bondName: "bond2", bondType: "offers", broker: "broker3", price: 104, units: 2},
];Then you can split/group-by on the correct columns as needed. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've attempted some configurations, but the output is not as expected.
I have sample data here have to create a data-grid view where the view will be something like this (bids and offers are not related).
Beta Was this translation helpful? Give feedback.
All reactions