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
close icon

How to use edit table?

Hi,

How can i use the edit table option, to user edit the width or cellpadding. The user clicks to create table, and no option show to edit table.

Thank you.

6 Replies

PM Pandiyaraj Muniyandi Syncfusion Team November 12, 2019 09:16 AM UTC

Hi S_Line, 
 
Greetings from Syncfusion support. 
 
Currently, we didn’t provide option to edit table width, cellpadding from our end. But you can customize the cellpadding and cell spacing by adding CSS from application end as follows 
 
 
  <style> 
    .e-richtexteditor .e-rte-content .e-content .e-rte-table { 
      border-spacing: 5px; 
      border-collapse: separate; 
    } 
 
    .e-richtexteditor .e-rte-content .e-content .e-rte-table td { 
      padding: 5px; 
    } 
  </style> 
 
 
 
We have prepared sample for reference, check the below link 
 
Regards, 
Pandiyaraj 



S_ S_Line November 12, 2019 11:29 AM UTC

Hi, thank you for reply.

But, how about this screen (https://ej2.syncfusion.com/javascript/documentation/rich-text-editor/images/table_properties.png), how can i access it?


PM Pandiyaraj Muniyandi Syncfusion Team November 13, 2019 12:58 PM UTC

Hi S_Line, 
 
Sorry for the confusion. 
 
Query: But, how about this screen (https://ej2.syncfusion.com/javascript/documentation/rich-text-editor/images/table_properties.png), how can i access it? 
 
We can enable this option by configuring TableEditProperties in table collection of quickToolbarSettings API as follows 
 
 
var defaultRTE = new ej.richtexteditor.RichTextEditor({ 
  quickToolbarSettings: { 
    table: ['TableHeader', 'TableRows', 'TableColumns', 'BackgroundColor', '-', 'TableRemove', 'Alignments', 'TableCellVerticalAlign', 'Styles', 'TableEditProperties'] 
  } 
}); 
defaultRTE.appendTo("#defaultRTE"); 
 
 
Currently, edit properties dialog via provided cellpadding, cellspacing value applied to the table, due to control styles overriding it not working with Table. Already we have logged internal bug as “Table cellpadding, cellspacing customization not working in RichTextEditor” for this issue, we will fix and include in 2019 Volume 4 beta release which is scheduled on first week of December. 
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this feedback link 
 
Regards, 
Pandiyaraj 



S_ S_Line November 13, 2019 02:04 PM UTC

No problem. It works fine now!

thank you for your assistance


GA Gurunathan A Syncfusion Team November 14, 2019 06:57 AM UTC

Hi S_Line, 

Thanks for the update. We are happy to assist you. 

Regards, 
Gurunathan  



PM Pandiyaraj Muniyandi Syncfusion Team December 4, 2019 06:15 AM UTC

Hi S_Line,

 
We have resolved "Table cellpadding, cellspacing customization not working in RichTextEditor" issue and included in 17.3.29 patch release. Kindly refer to below release notes section  


We suggest you upgrade the packages into the latest version.  

Regards, 
Pandiyaraj 


Loader.
Live Chat Icon For mobile
Up arrow icon