An INodeStyle for tables.
Remarks
This implementation stores the table instance and therefore, its instances cannot be shared among different table instances.
Type Details
- yFiles module
- view
See Also
Constructors
Constructor with a custom renderer implementation that uses table
as backing table model.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- table - ITable
- The table instance that defines the tabular structure.
- tableRenderingOrder - TableRenderingOrder
- The order in which rows and columns are rendered. This option sets the tableRenderingOrder property on the created object.
- backgroundStyle - INodeStyle
- The style that is used to draw the background of the table. This option sets the backgroundStyle property on the created object.
Properties
Gets or sets the style that is used to draw the background of the table.
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given node and this style instance.
Remarks
The idiom for retrieving, e.g. an IVisualCreator implementation for a given style is:
const creator = style.renderer.getVisualCreator(node, style)
const visual = creator.createVisual(context)
See Also
Implements
Gets or sets the order in which rows and columns are rendered.
See Also
Methods
Create a clone of this object.