Hi Jorge
Thank
you for contacting Syncfusion support.
There is no property name called
ImageCssClass in our Tab. To set image to newly added tab through the javascript, we suggest you the following work around,
<code>
<script type="text/javascript">
$(function () {
// declaration
$("#defaultTab").ejTab();
$("#btn").ejButton({ click: "onclick" });
});
function onclick() {
var obj = $("#defaultTab").data("ejTab");
obj.addItem("#new", "New Item", 3);
$(obj.items[3]).append("<span class='myClass'></span>")
}
</script>
<style type="text/css" class="cssStyles">
.myClass {
background-image: url("../images/rating/mos.png");
width: 30px;
height: 25px;
float: left;
}
</style>
</code>
Regards
Ragunath M