I know this is a very basic question but I really find it hard to solve.
I can't append this $(".gantt")
$("#gant_chart").append($(".gantt").gantt({
source: [{
name: maintasks_val.task_name,
desc: "",
values: [{
from: "/Date("+maintasks_val.time_start+")/",
to: "/Date("+maintasks_val.time_end+")/",
label: maintasks_val.task_name,
customClass: "ganttRed"
}],
}); );
I know there's something wrong in it. I think I cant append like that. Is there any other solution for this?
thanks in advance for those who answers.