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

How to adjust width of the columns?

5 Answers 423 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 07 Jul 2016, 06:50 AM
How to increase/decrease width of the columns in the spreadsheet manually?

5 Answers, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 07 Jul 2016, 08:39 PM
Hi Michael,

Please take a look at this Kendo UI Dojo by Progress which illustrates how to change the width of the columns in a Kendo Spreadsheet.

The configuration to set is sheets.columns.width.

Hope this helps!

Regards,
Patrick
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Michael
Top achievements
Rank 1
answered on 08 Jul 2016, 04:27 AM
Is possible to resize columns width by user on GUI? 
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 08 Jul 2016, 02:29 PM
Hi Michael,

You can adjust the columns by dragging the edge of the column header.  You can see this behavior in the following short screencast.  Please try it out in the Kendo UI Dojo by Progress I sent.  

Hopefully this clears things.

Regards,
Patrick
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Michael
Top achievements
Rank 1
answered on 08 Jul 2016, 03:46 PM
Thanks it works ! Can you please help me to get spreadsheet columns width to save dynamically by angular.
0
Accepted
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 11 Jul 2016, 07:56 PM
Hello Michael,

One approach you can take to save the width size of the column is to use the methods toJSON and fromJSON.  toJSON will serialize the workbook based on its configuration while fromJSON will load the contents of the workbook.  Use the localStorage to store the data.

You can see the approach using AngularJS in this Kendo Dojo by Progress.

For more information, we have a great section in our documentation which goes over storing data as JSON.  

Regards,
Patrick
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Spreadsheet
Asked by
Michael
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Michael
Top achievements
Rank 1
Share this question
or