Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Set wrap property for range or sheet?

$
0
0

Hello!  I'm using the spreadsheet control to display the contents of a series of data sources, each in a separate sheet.  I'm creating the spreadsheet in Javascript, setting its options, and then setting the datasources on each sheet as given by Rosen's answer in this thread (in order to control column order and titles) -

http://www.telerik.com/forums/datasource---specify-columns

Is there a way to enable text wrapping on a range, or in an entire sheet, either in the options or after the sheet is loaded?  I've defined the rows for the sheet in a pretty basic way within the options, but once the datasource is applied, the wrap settings only affect the first row -

                        rows: [
                        {
                            height: 40,
                            cells: [{ wrap: true }, { wrap: true }, { wrap: true }, { wrap: true }, { wrap: true }, { wrap: true }, { wrap: true }]
                        }],

It's looking like the only way to wrap all cells in a column will be to iterate through the cells in the column.... I'm hoping there's a better way and I'm just missing it completely.


Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>