Kendo.Mvc.UI.Spreadsheet

Kendo UI Spreadsheet component

Properties

ActiveSheet

The name of the currently active sheet.Must match one of the (sheet names)[#configuration-sheets.name] exactly.

ColumnWidth

The default column width in pixels.

Columns

The number of columns in the document.

DefaultCellStyle

The default cell styles to be applyied to sheet cells.

HeaderHeight

The height of the header row in pixels.

HeaderWidth

The width of the header column in pixels.

Excel

Configures the Kendo UI Spreadsheet Excel export settings.

Pdf

Configures the Kendo UI Spreadsheet PDF export settings.

RowHeight

The default row height in pixels.

Rows

The number of rows in the document.

Sheets

An array defining the document sheets and their content.

Sheetsbar

A boolean value indicating if the sheetsbar should be displayed.

Toolbar

A boolean value indicating if the toolbar should be displayed.

UseCultureDecimals

If set to true, the spreadsheet's formula parser will obey the current culture's decimal separator. When false (the default) the decimal separator in formulas will always be the dot.This flag has implications on how formulas are entered. When set to true, in cultures where the decimal separator is the comma (,) there are the following additional changes when entering a formula, similar to how Excel operates: The semicolon becomes function argument separator. Example: =SUM(A1;A2) instead of =SUM(A1,A2). or The backslash becomes element separator in an array formula. Example: ={1\2;3\4} instead of ={1,2;3,4}.. This flag only affects presentation, that is, the way formulas are entered by the end user, or displayed on screen. Serialization to JSON or XLSX, as well as the public API functions, will continue to use the dot as decimal separator and the comma as argument separator (canonical form). For example, in order to apply a formula using the API, even if useCultureDecimals is in effect, you still need to use the canonical form:If you would like the API functions to obey useCultureDecimals, wrap your code in a call to sheet.withCultureDecimals. Assuming a culture where the comma is used for decimals, contrast the above example to:

Methods

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?