This is a migrated thread and some comments may be shown as answers.

remove/hide Table Wizard button

1 Answer 372 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Elio
Top achievements
Rank 1
Elio asked on 16 Oct 2020, 10:37 PM

I have a simple page with an editor, I have the "createTable" tool added but not the "tableWizard" even so the Table Wizard button still shows up.

Is there a way besides css to remove/hide this button.

 

$("#editor").kendoEditor({
            tools: [
                {
                   name: "fontSize",
                   items: [
                       { text: "1 (8pt)", value: "8pt", },
                       { text: "2 (10pt)", value: "10pt", },
                       { text: "3 (12pt)", value: "12pt", }
                   ]
               },
               "bold",
               "italic",
               "underline",
               "strikethrough",
               "superscript",
               "justifyLeft",
               "justifyCenter",
               "justifyRight",
               "justifyFull",
               "insertUnorderedList",
               "insertOrderedList",
               "indent",
               "outdent",
               "createLink",
               "unlink",
               "insertImage",
               "createTable",
               "addRowAbove",
               "addRowBelow",
               "addColumnLeft",
               "addColumnRight",
               "deleteRow",
               "deleteColumn",
               "viewHtml"
               ]
       });

 

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 20 Oct 2020, 01:52 PM

Hello Elio,

The Table Wizard button showing in the createTable popup is by design, and we do not have a configuration option or an API method dedicated to changing this behavior. CSS would be the way to go:

.k-ct-popup .k-button {
  display: none;
}

Regards,
Ivan Danchev
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Editor
Asked by
Elio
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or