I've been trying to figure out how I'd dynamically create tabs on a tabstrip (and consequently, views) and I thought that trying a hand with a datasource and template might be the way to go, after seeing that it works with listviews. The way I currently have it set up is as of the following:
But nothing generates.
Is there a way to fix this or another way to go about dynamically creating tabs & views altogether?
<div data-role="footer"> <div id="crewlistTab" data-role="tabstrip" data-source="catDataSource" data-template="departmentTabs"> </div></div><!--Template for tabs--><script type="script/x-kendo-template" id="departmentTabs"> <a href="#" data-icon="contacts">#: AccountDepartmentId#</a></script><script type="text/Javascript">var catDataSource = new kendo.data.DataSource({ transport: { read: { url: "../Server-Side/connectDP.php", type: "GET", dataType: "json" } }, schema: { data: "categories" } });</script>Is there a way to fix this or another way to go about dynamically creating tabs & views altogether?