Disable tab item

Dear sirs,

how to disable a tab ítem?

Thank you in advance

1 Reply

IB Ilakkiya Baskar Syncfusion Team May 22, 2018 09:58 AM UTC

Hi Antonio, 

Thank you for contacting Syncfusion Support. We analyzed your query. 
We suggest you to use disabledItemIndex property to disable the particular tab item in the Tab component. Please refer the code block below, 
<script type="text/javascript"> // Set the disabledItemIndex during initialization.  
$("#tab").ejTab({width:"300px",disabledItemIndex: [1,2] });  
</script> 
 
You can also dynamically disable the tab item using instance of the tab component. Please refer the below code 
<script type="text/javascript"> // Set the disabledItemIndex 
 var Obj = $("#tab").data(“ejTab”);  
Obj. setModel({disabledItemIndex: [1,2]}); 
 </script> 
 
Please refer the below documentation, 
 
 
Please let us know, if there is any concern.   
 
 
 

Regards, 
Ilakkiya B 


Loader.
Up arrow icon