We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Transpose Excel data from rows to columns or vice versa

Greetings!

I am currently using ExtractDataTable function to show content of Excel file in my SfDataGrid.
Is there a possibility to transpose rows into columns and backwards?

Best Regards,
Aleksander

3 Replies

KK Konduru Keerthi Konduru Ravichandra Raju Syncfusion Team November 19, 2019 07:44 AM

Hi Aleksander, 

Greetings from Syncfusion. 

We have prepared simple sample to Transpose the rows and columns in a DataTable. The sample can be downloaded from the following link. 


Kindly try this and let us know if your requirement is fulfilled. 

Regards, 
Keerthi. 




AZ Aleksander Zotov November 19, 2019 09:33 AM

Thank you very much!
This worked as charm.

Best regards,
Aleksander


KK Konduru Keerthi Konduru Ravichandra Raju Syncfusion Team November 20, 2019 05:07 AM

Hi Aleksandar, 

Thanks for the update.  

We are glad that your requirement is achieved. 

Regards, 
Keerthi. 


Loader.
Live Chat Icon For mobile
Up arrow icon