-{"index.html":"<html><head><script src=\"//npmci.syncfusion.com/development/demos/gantt/column-template/datasource.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdn.syncfusion.com/ej2/dist/ej2.min.js\" type=\"text/javascript\"></script>\n <link href=\"https://cdn.syncfusion.com/ej2/material.css\" rel=\"stylesheet\">\n\n <link href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n\n <style>\n body{\n touch-action:none;\n }\n </style></head><body><div class=\"stackblitz-container {{theme}}\"><div class=\"control-section\">\n <div class=\"content-wrapper\">\n <div id=\"ColumnTemplate\">\n </div>\n <div style=\"float: right; margin: 10px;\">Source:\n <a href=\"https://en.wikipedia.org/wiki/Construction\" target=\"_blank\">https://en.wikipedia.org/</a>\n </div>\n </div>\n</div>\n\n<script type=\"text/x-template\" id=\"columnTemplate\">\n ${if(ganttProperties.resourceNames)}\n <div class=\"image\">\n <img src=\"//npmci.syncfusion.com/development/demos/src/gantt/images/${ganttProperties.resourceNames}.png\" style=\"height:40px;width:40px\" /><div style=\"display:inline-block;width:100%;position:relative;left:30px\">${ganttProperties.resourceNames}</div>\n </div>\n ${/if}\n</script>\n\n\n\n</div></body></html>","index.js":"{{ripple}}\n var ganttChart = new ej.gantt.Gantt({\n dataSource: window.templateData,\n height: '450px',\n highlightWeekends: true,\n taskFields: {\n id: 'TaskID',\n name: 'TaskName',\n startDate: 'StartDate',\n endDate: 'EndDate',\n duration: 'Duration',\n progress: 'Progress',\n resourceInfo: 'resources',\n dependency: 'Predecessor',\n child: 'subtasks'\n },\n columns: [\n { field: 'TaskID', headerText: 'Task ID', textAlign: 'Left' },\n { field: 'TaskName', headerText: 'Task Name', width: '250' },\n\t\t\t{ field: 'resources', headerText: 'Resources', width: '250',template: '#columnTemplate' },\n { field: 'StartDate', headerText: 'Start Date', width: '150' },\n { field: 'Duration', headerText: 'Duration', width: '150' },\n { field: 'Progress', headerText: 'Progress', width: '150' },\n ],\n treeColumnIndex: 1,\n labelSettings: {\n leftLabel: 'TaskName'\n },\n splitterSettings: {\n columnIndex: 3\n },\n rowHeight:60,\n resourceFields: {\n id: 'resourceId',\n name: 'resourceName'\n },\n resources: editingResources,\n projectStartDate: new Date('03/24/2019'),\n projectEndDate: new Date('07/06/2019')\n });\n ganttChart.appendTo('#ColumnTemplate');\n"}
0 commit comments