This demo illustrates the MVC HTML Editor's built-in support of HTML tables. The HTML Editor allows end-users to create, customize, and delete tables and associated elements by using a set of predefined commands. The commands associated with table editing are available as a separate toolbar (TableToolbar) or by using an individual toolbar button (ToolbarTableOperationsDropDownButton) with a dropdown list of individual commands. By default, the ToolbarTableOperationsDropDownButton toolbar button belongs to a standard toolbar (StandardToolbar1).
In this demo, HTML table operation commands are represented within a manually created toolbar of the TableToolbar type. The necessary toolbar buttons are created using the toolbar's CreateDefaultItems method.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxHTMLEditorDemos