Hello,
I'm looking to find a way to hide the Table tab and Cee tab on the Table Wizard. Is there a way to do this?
Thanks,
Sunny Carrandi
Hi Neli,
I really appreciate your answer, I apologize for my late response. I was able to accomplish my requirement following your suggestions! Thank you! I really appreciate it!
#k-table-wizard-tabs ul li:first-child, #k-table-wizard-tabs ul li:nth-child(2) {Hi Sunny,
You can use the following CSS to hide the 'Table' and 'Cell' tabs in the TableWizard popup.
<style>
#k-table-wizard-tabs #k-table-wizard-tabs-tab-1,
#k-table-wizard-tabs #k-table-wizard-tabs-tab-2{
display: none;
}
</style>
Then, you can handle the Editor execute event. When the Table Wizard popup is rendered you can activate the 'Accessibility' tab using the TabStrip activateTab method:
execute(e) {
if(e.name == "tablewizardinsert"){
setTimeout(function(){
var tabToActivate = $('#k-table-wizard-tabs #k-table-wizard-tabs-tab-3')
$("#k-table-wizard-tabs").data("kendoTabStrip").activateTab(tabToActivate);
})
}
},
Here is a Dojo example where the described above is implemented.
As the desired result can be achieved throught the demonstrated approach I will change the status of the request to the 'Declined'.
Let me know in case you have additional questions on the matter.
Regards,
Neli
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.