titleClsTemplate

titleClsTemplate - Specifies the mapping between the title cls column in the datasource and
the tab title style and also may define a visualization template. It may be a string value or a function.


<script type="text/javascript">
    $(function () {
        $("#tabs").shieldTabs({
            titleClsTemplate: "{titleCls}",
            dataSource: {
                 data: [
                     { title: "Tab1", titleCls: "titleCls", content: "Tab1 content" },
                     { title: "Tab2", content: "Tab2 content" },
                 ]
            }
        });
    });
</script>

<style>
   .titleCls: {
      width: 70px;
   }
</style>