We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tables in Rich Text Editor

Thread ID:





141096 Nov 23,2018 10:45 AM UTC Nov 23,2018 11:35 AM UTC ASP.NET MVC - EJ 2 1
Tags: RichTextEditor
Charles Southey
Asked On November 23, 2018 10:45 AM UTC

Are tables available yet in the JS2 ASP.NET MVC Rich Text Editor? The documentation implies that they are - but any attempt to add the 'table' element to the toolbar results in the control not rendering.

Prince Oliver [Syncfusion]
Replied On November 23, 2018 11:35 AM UTC

Hi Charles,  

Thank you for contacting Syncfusion support.  

Yes, the support for tables are available in JS2 ASP.NET MVC Rich Text Editor control. We have included table support from version 16.3.21.  Kindly refer to the following release notes for more information:   
To enable tables in the RTE’s toolbar, you need to add “CreateTable” to the tools list as shown in the following code.  
@Html.EJS().RichTextEditor("default").ToolbarSettings(e => e.Items((object)ViewBag.tools)).Value((string)ViewBag.value).Render()  
public ActionResult Index()  
            ViewBag.value = @"<p>The rich text editor is WYSIWYG ('what you see is what you get') editor useful to create and edit content</p>";  
            ViewBag.tools = new[] { "Bold", "Italic", "Underline", "StrikeThrough",  
                            "FontName", "FontSize", "FontColor", "BackgroundColor",  
                            "LowerCase", "UpperCase", "|",  
                            "Formats", "Alignments", "OrderedList", "UnorderedList",  
                            "Outdent", "Indent", "|",  
                            "CreateTable", "CreateLink", "Image", "|", "ClearFormat", "Print",  
                            "SourceCode", "FullScreen", "|", "Undo", "Redo" };  
            return View();  

Make sure that you have included the dependent scripts and theme files in the version 16.3.21 or above, in the _layout.cshtml page. We have attached a sample for your reference, please find the sample at the following location 

For more information regarding the Tables in RTE, kindly refer to the following documentation link: https://ej2.syncfusion.com/aspnetmvc/documentation/rich-text-editor/table   

Please let us know if you require any further assistance on this.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon