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
close icon

Sorting data in a worksheet

Hi everybody,

I 've tried to search in the online documentation without success.

Can we sort data in a worksheet, i have to export data and for many reason i can't sort them or not i would like.

It is possible to specify a column or multiple columns to syncfusion in order to sort data ?

Thanks for your help.

1 Reply

BR Balamurugan R Syncfusion Team March 1, 2010 01:30 PM UTC

Hi Farouk,

Thanks for your interest in Essential XlsIO.

Essential XlsIO does not provide any built-in method for sorting the data. You would need to sort the data yourself before inserting into the spreadsheet. However you can place the data in the data table and sort it. Please refer the following url for more details:

http://msdn2.microsoft.com/en-us/library/system.data.dataview.sort(vs.71).aspx

Finally the sorted DataTable can be imported into the spreadsheet using the IWorksheet.ImportDataTable method of XlsIO.

Kindly let me know if you have any other questions.

Thanks,
Balamurugan

Loader.
Live Chat Icon For mobile
Up arrow icon