Hi John,
Thank you for contacting Syncfusion support.
We have prepared a sample based on your code and loaded Grid control into the newly added tab. We suggest you to pass url name parameter alone to addItem method and that will be considered as “id” for newly added tab item. We have provided an additional parameter called id in addItem method to add id to tab item in case when url name parameter specifies some path as url to fetch content.
Please refer the below given code
$.ajax({ url: '/Home/Index', type: 'POST', success:function(data) { var tabObj = $("#Picks").data("ejTab"); tabObj.addItem("#dynamicTab", "New Item", 1); $('#dynamicTab').html(data); ej.widget.init($("#dynamicTab")); } }) |
We have attached sample for your reference. Please refer to the below given link
If the issue persists please get back to us by modifying the above sample to reproduce the issue in our end along with product version used in your project. If possible share us some video or screenshot to showcase the issue so that we can proceed further.
Regards,
Keerthana.