Sorry. my mistake. It’s the entire data not being sent to the server. The log file only show the select task once I start to click on task and not update task. The update not submitted at all.
Finally, I solve the issue. However, does the auto update only recognise the id which is integer? Because it only update the id details with id value and not the id which contains characters. Why does this issue occur?
$this->db->where('item_id',$value["item_id"]);
$query=$this->db->get("material");
if ($query->num_rows() > 0) {
$row = $query->row();
$tasks = array(
"id"=>$value["id"].".".$index."_".$row->item_id,
"text"=>$row->item_id.": ".$row->description,
"start_date"=>$value["start_date"],
"duration"=>$this->totalduration($row->item_id,$value["qty"]),
"progress"=>0,
"parent"=>$value["id"],
"priority_id"=>$value["priority_id"],
"cust_id"=>$value["cust_id"],
);
$this->db->insert('gantt_tasks', $tasks); I’m using codeigniter framework. This is the data I insert into table by using array.
Try to replace “_” character in ID with any other one. Datprocessor uses this char as separator for field naming, so using it in ID may cause the issue.
Yes, it works. Thanks. However, when my id content contains space between words, it still cannot recognise the id and update accordingly. So is it necessary to remove the id content so that the dataprocessor can recognise my id content