I want to hide or remove Other tab from Task Edit Popup because all the new columns which I have added are coming in Other tab and I don't want to allow user to edit from Task Popup.
1 Answer, 1 is accepted
0
Accepted
Zornitsa
Telerik team
answered on 08 Nov 2023, 02:08 PM
Hello Abhishek,
You could achieve the desired behavior by implementing the following approach:
$("#gantt").kendoGantt({
edit: function() {
var tabStrip = $('[data-role="tabstrip"]').data("kendoTabStrip");
var otherTab = tabStrip.tabGroup.find(".k-tabstrip-item.k-last");
otherTab.remove(); //or otherTab.hide()
}
});
As you can see in the above code snippet, you can get a reference to the TabStrip component, and then, from its tabGroup field, you can find the corresponding tab and either remove or hide it as it suits your preference.
Here is also a Dojo example, which demonstrates the suggested approach: