Hi All,
I am working on creating a Data Grid component which works in a canvas app. I am exploring the possibility of exporting the dataset records loaded into the PCF, to Excel and to CSV, now I am able to write the export function using the xlsx npm package, but I am not able to figure out how to convert the entire dataset to a json which I can pass to the xlxs package functions, I tried doing some searching on this, but drew blank. Is this something that someone else has worked on?
PS: The main hurdle I have is how to convert the dataset into json