Author Topic: Remove Delete Excel sheet Tab Option  (Read 378 times)

Punit

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 46
    • View Profile
Remove Delete Excel sheet Tab Option
« on: July 06, 2022, 10:47:55 am »
Dear Team,
How to remove or hide the Excel sheet Delete Tab (X) Icon?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Remove Delete Excel sheet Tab Option
« Reply #1 on: July 06, 2022, 06:15:35 pm »
Please use this:

Code: [Select]
tabModel: {
    tabs: [{
gridOptions: {
complete: function(){
var T = this.Tab();
T.tabs().forEach(function(tab){
tab.noClose = true;
});
T.refresh();
}
}
}]
},