Query |
Response | |
Add caption to symbol palette items |
· Please use symbol palette’s ShowPaletteItemText Property to show/hide the text below the palette shapes.
· By default, when you enable showPaletteItemText property, a node name will be rendered as a palette item text.
· If you need a text to be displayed with space or something, then you should use paletteItem label property to achieve your requirement because node name should not contain space or start with numeric values.
Code example:
| |
Add tooltip to symbol palette items. |
We have rendered a tooltip for symbol palette items in diagram create event. Please refer to the code example below.
Code example:
|
<style>
.e-paletteItem.e-draggable.e-js.dragClone .e-text-container {
display:none;
}
</style>
|