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.
Unfortunately, activation email could not send to your email. Please try again.

How to autofit columns in xamarin ios xlsio portable?

Thread ID:





130797 Jun 3,2017 01:27 AM Jun 8,2017 08:22 AM Xamarin.iOS 3
Tags: XlsIO
Balasubramanian Ramanathan
Asked On June 3, 2017 06:53 AM

Hi,I would like to autoresize the columns of excel cell to fit the content.How do i achieve with xamarin xlsio portable?I tried this  Syncfusion.XlsIO.Implementation.RangeImpl rangeImpl = worksheet.UsedRange as Syncfusion.XlsIO.Implementation.RangeImpl;            rangeImpl.AutofitColumns();and it does not work...Thanks

Sridhar Sukumar [Syncfusion]
Replied On June 5, 2017 03:28 AM

Hi Balasubramanian, 


Thank you for contacting Syncfusion support. 


We regret to let you know that currently we don’t have support for Autofit in portable library. However, we have added it to our Feature request list and it will be implemented in any of our upcoming releases.      


Please let us know if you need any other assistance on this. 


Balasubramanian Ramanathan
Replied On June 7, 2017 12:51 AM

Could you please give me an example on how to measure a string and set the column width?

Thank You

Sridhar Sukumar [Syncfusion]
Replied On June 8, 2017 08:22 AM

Hi Balasubramanian, 
No, Excel cell string cant be measured individually. However, we are working on the feature “Need to provide support for Autofit in portable library and it will be implemented in 2017 Vol 3 release. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.