add
Appends a new decorator to the target identified by path.
Validates decorator properties before adding. If color is non-null it must be a valid hex color string (e.g. "#459842" or "#ff00ff00").
Note: If the decorator has no label and no icon, it will be added to the model but will not be visible in the UI.
Parameters
path
Slash-separated path identifying a field, row, or column.
decorator
The decorator to add.