Back to Devexpress

RichEditCommands.changeTableStyle Property

aspnet-js-richeditcommands-966f061f.md

latest1.2 KB
Original Source

RichEditCommands.changeTableStyle Property

Gets a command to change the selected table’s style.

Declaration

ts
get changeTableStyle(): ChangeTableStyleCommand

Property Value

TypeDescription
ChangeTableStyleCommand

An object that provides methods that execute the command and check its state.

|

Remarks

Call the execute(style) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

javascript
richEdit.commands.changeTableStyle.execute(richEdit.document.tableStylesInfo[1]);

Table style settings are available via the RichEditDocument.tableStylesInfo property.

Refer to the following section for more information: Client Commands.

See Also

RichEditCommands Class

RichEditCommands Members