And when I click on the ID that is a button it calls and api to fetch the detail of that Id, the problem is I want to loop on the sepecific key of the response called generated_images which contains multiple images then show them in the grid
If you want to make the Data source drilled down to only the generated_images of singleOrder, you can select Use Javascript from the Data source dropdown & key into the value you want in the grid: