SpreadsheetSheetRowCellTagHelper

Example

Razor
<cell>
    <border-bottom />
    <border-left />
    <border-right />
    <border-top />
    <validation />
</cell>

ChildTags

Attributes

AttributeTypeDescription
backgroundStringThe background color of the cell. Many standard CSS formats are supported. However, the canonical form is #ccff00.
boldBooleanIf set to true, sets the cell font to bold.
colorStringThe font color of the cell. Many standard CSS formats are supported. However, the canonical form is #ccff00.
commentStringThe comment of the cell - a tooltip that appears when the cell is hovered.
enableBooleanIf set to false, disables the cell.
font-familyStringThe font family of the cell.
font-sizeDoubleThe font size of the cell in pixels.
formatStringThe format of the cell text. For more information, refer to the article on creating or deleting a custom number format on MS Office.
formulaStringThe cell formula without the leading equals sign, for example, A1 * 10.
htmlBooleanIf set to true, renders the cell value as HTML. It is important to sanitize the value of the cell on the server for passing safe html because there is no client-side sanitizing. When editing a cell the new value can be checked and prevented in the client changing event.
indexDoubleThe zero-based index of the cell. Required to ensure correct positioning.
italicBooleanIf set to true, sets the cell font to italic.
linkStringThe hyperlink (URL) of the cell.
text-alignSpreadsheetTextAlignSpecifies the text alignment in the cell
underlineBooleanIf set to true, sets the cell font to underline.
valueStringThe cell value.
vertical-alignSpreadsheetVerticalAlignSpecifies the text vertical alignment in the cell
wrapBooleanIf set to true, wraps the cell content.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support