set-border-mode-for-highlighted-cells
Type: Operation
Sets the specified border mode for the highligted cells. The border mode will be visualized by showing only the border highlighting for the targeted borders. In conjunction with the setBordersByCellNodeIdToHighlightedCells transforms you can then apply styling to the borders. See CellsHighlightButton on how to get highlighted cells.
Example:
Other
<MastheadToolbarButtons>
<FxOperationButton
icon='border-all'
label=''
operationName='set-border-mode-for-highlighted-cells'
operationData={{ borderMode: 'all' }}
/>
<FxOperationButton
icon='border-outer'
label=''
operationName='set-border-mode-for-highlighted-cells'
operationData={{ borderMode: 'outer' }}
/>
<FxOperationButton
icon='border-inner'
label=''
operationName='set-border-mode-for-highlighted-cells'
operationData={{ borderMode: 'inner' }}
/>
…
</MastheadToolbarButtons>
Tooltip | Target the borders in the highlighted cells for this border mode. |
---|
Imported operation data
border
Mode (Required)
Type: String
The border mode, which can be one of 'all', 'outer', 'inner', 'top', 'bottom', 'left', 'right', 'inner-horizontal' and 'inner-vertical'. Defaults to 'all'.