New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.SpreadsheetSheet

Methods

Deletes the contents of the column at the provided index and shifts the remaining contents of the sheet to the left.

JS
deleteColumn(Number index): void
Parameters:indexNumber

The zero-based index of the column

Deletes the contents of the row at the provided index and shifts the remaining contents of the sheet up.

JS
deleteRow(Number index): void
Parameters:indexNumber

The zero-based index of the row

Gets the width of the column at the given index.

JS
get_columnWidth(): Number
Returns:

Number

Gets the amount of frozen columns displayed by the sheet.

JS
get_frozenColumns(): Number
Returns:

Number

The current frozen columns. By default, returns 0.

Gets the amount of frozen rows displayed by the sheet.

JS
get_frozenRows(): Number
Returns:

Number

Returns a Range for the given range specification.

JS
get_range(String rangeString): Telerik.Web.UI.SpreadsheetRange
Parameters:rangeStringString

A1 or RC notation reference of the cells. ex. "A1:B2"

Returns:

Telerik.Web.UI.SpreadsheetRange

Gets the default row height in pixels.

JS
get_rowHeight(): Number
Returns:

Number

Returns a range with the current active selection.

JS
get_selection(): Telerik.Web.UI.SpreadsheetRange
Returns:

Telerik.Web.UI.SpreadsheetRange

Hides the column at the provided index.

JS
hideColumn(Number index): void
Parameters:indexNumber

The zero-based index of the column.

Hides the row at the provided index.

JS
hideRow(Number index): void
Parameters:indexNumber

The zero-based index of the row

Inserts a new, empty column at the provided index. The contents of the spreadsheet (including the ones in the current column index) are shifted to the right.

JS
insertColumn(Number index): void
Parameters:indexNumber

The zero-based index of the column

Inserts a new, empty row at the provided index. The contents of the spreadsheet (including the ones in the current row index) are shifted down.

JS
insertRow(Number index): void
Parameters:indexNumber

The zero-based index of the row

Sets or sets the width of the column at the given index.

JS
set_columnWidth(Number colIndex, Number width): void
Parameters:colIndexNumber

The zero-based index of the column

widthNumber

If passed, the method will set the width of the column at the passed index.

Sets the amount of frozen columns displayed by the sheet.

JS
set_frozenColumns(Number count): Number
Parameters:countNumber

The amount of columns to be frozen. Pass 0 to remove the frozen pane.

Returns:

Number

Sets the amount of frozen rows displayed by the sheet.

JS
set_frozenRows(Number count): void
Parameters:countNumber

The amount of columns to be frozen. Pass 0 to remove the frozen pane.

Sets the default row height in pixels.

JS
set_rowHeight(Number index, Number width): void
Parameters:indexNumber

The zero-based index of the row

widthNumber

If passed, the method will set the height of the row at the passed index.

Not finding the help you need?
Contact Support