This is a migrated thread and some comments may be shown as answers.

Bestfit all columns

4 Answers 127 Views
PivotGrid and PivotFieldList
This is a migrated thread and some comments may be shown as answers.
manuele
Top achievements
Rank 1
manuele asked on 26 Mar 2015, 05:07 PM
Hi,
   i would like to Auto BestFit all columns after data loading, is it possible?

Thank you 


Manuele

4 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 31 Mar 2015, 08:20 AM
Hello Manuele,

Thank you for writing.

This is possible and you can use the BestFitColumns method to achieve it:
radPivotGrid1.PivotGridElement.BestFitHelper.BestFitColumns();

In addition there is a Best Fit option in the default context menu.

Please let me know if there is something else I can help you with. 
 
Regards,
Dimitar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
manuele
Top achievements
Rank 1
answered on 31 Mar 2015, 08:51 AM
Hi, thank you for the answer.
I have a last question, is it possible to do the same thing with the group Element?
There is a bestfit method for groupelement?

Regards

Manuele
0
manuele
Top achievements
Rank 1
answered on 31 Mar 2015, 09:18 AM
I have found it:     

RadPivotGrid1.PivotGridElement.BestFitHelper.BestFitRowHeaders()


Thank you so much

Manuele
0
Dimitar
Telerik team
answered on 31 Mar 2015, 01:12 PM
Hello Manuelle,

This is indeed the correct way to best fit the row headers. Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
PivotGrid and PivotFieldList
Asked by
manuele
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
manuele
Top achievements
Rank 1
Share this question
or