Skip to main content

String

Basic

Editable

Disabled

Read only

Display the value in numeral format.

Lord of the ring

With "< mark > & < /mark >" tags

This cell can render html string under one condition, the html string must contain only tag otherwise the string will be stripped and shown like simple text

This will get parsed

<CellStringViewWithMarkTag
isReadOnly={true}
data={{ title: 'John is a <mark>good</mark> guy'}}
dataKey="html"
/>
John is a good guy

This will get stripped because it contain other tags than < mark />

<CellStringViewWithHtmlTags
isReadOnly={true}
data={'<span>John</span> is a <mark>good</mark> <p>guy</p>'}
dataKey="html"
/>
John is a good guy