Hi Franjkovic,
Thanks for using Syncfusion product.
We would like to inform you that we have already planned and logged a feature request regarding this.
A support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Please let us know if you require further assistance on this.
Regards,
Mahalakshmi K.
<script type="text/javascript">
function load() {
this.isProjectViewData = true;
}
function resourceQueryTask(args) {
args.taskbarBackground = args.data.isOverAllocated ? "#0000FF" : "#3CB371";
args.labelColor = "#FFFFFF";
$(args.taskbar).find(".e-gantthistoworklabel").css("transform", "none");
var rowIndex = $("#histoview").data("ejGantt").getGanttChartRows().index($(args.taskbar).closest('tr.e-ganttrowcell')),
resourceSkills = args.model.currentViewData[rowIndex].Skills,
resourceWork = $(args.taskbar).find(".e-gantthistoworklabel").text();
$(args.taskbar).find(".e-gantthistoworklabel").text("Skills- " + resourceSkills + ", Work- " + resourceWork);
}
</script> |
function rowSelected(args) {
var resourceData = [];
for (var j = 0; j < args.model.dataSource.length; j++) {
if (args.data.item[args.model.taskIdMapping] == args.model.dataSource[j][args.model.taskIdMapping]) {
resourceData.push(args.model.dataSource[j]);
}
}
var ganttObj = $("#histoview").data("ejGantt");
ganttObj.setModel({“dataSource": resourceData, "resources": args.data.resourceInfo });
} |