Hi Lakshminarayanan,
Greetings from Syncfusion.
Thank you for inquiring about creating an interactive pie
chart and grid to display data. We can achieve this by using pointClick in the
pie chart. Based on the pointClick in pie, we can update the dataSource in the
grid.
We have created sample for your reference.
Code-snippet:
|
pointClick:
(args) => {
const selectedDataPoint: DataPoint |
undefined = chartData.find(
(dataPoint) =>
dataPoint.x === args.point.x
);
if (selectedDataPoint) {
// Clear the previous data
from the grid
grid.dataSource = [];
// Generate and update the
grid's data source for 72 data points
for (let i = 1; i <= 72;
i++) {
const dob =
generateDob(i, selectedDataPoint.x);
(grid.dataSource
as GridData[]).push({
No:
i,
gender: selectedDataPoint.x,
dob,
});
}
grid.refresh();
}
},
});
|
Screenshot:

Sample: https://stackblitz.com/edit/6wyrxy-rvvzf8?file=index.ts,index.html
Kindly revert us if you have any concerns.
Regards,
Nishanthi