Cannot change the name of a tab dynamically

Hi,

I changed one of the tab list's text by button click, and refreshed the tab control, but the name of tab item could not change.

Please check the problem!



1 Reply 1 reply marked as answer

SK Satheesh Kumar Balasubramanian Syncfusion Team November 11, 2020 12:58 PM UTC

Hi lorryl, 
  
Greetings from Syncfusion Support. 
  
We have validated your reported query "Cannot change the name of a tab dynamically" and suggest you to modify the particular item changes instead of reassigning the item collection. 
  
Code snippet:  
  changeTabs(): void { 
    this.headerText[0].name = "Test"; // Change the name of a tab dynamically 
  } 
           
  
  
Kindly try the above solution and get back to us, If you need further assistance. 

Regards, 
Satheesh Kumar B 


Marked as answer
Loader.
Up arrow icon