DataTables cannot update
DataTables cannot update
Hi, i am newbie in DataTables. when i update the record to datatable, the database is updated but the DataTable in HTML view is not updated.
Pls, give me advice.
[code]
$('#example').dataTable({ bJQueryUI: true,
"sPaginationType": "full_numbers"
}).makeEditable({sUpdateURL: "CRUD/DepUpdate.php"} );
[/code]
This is html view
[code]
echo "";
echo "";
echo "";echo "";echo "DeptName";echo "CDate";echo "";echo "";
echo "";echo "";echo "DeptName";echo "CDate"; echo "";echo "";
echo "";
while ($row = mysql_fetch_assoc($alldeptresult))
{
?>
<?php echo $row['DeptName']; ?>
<?php echo $row['CDate']; ?>
<?php
}
echo "";
echo "";
echo "";
[/code]
Pls, give me advice.
[code]
$('#example').dataTable({ bJQueryUI: true,
"sPaginationType": "full_numbers"
}).makeEditable({sUpdateURL: "CRUD/DepUpdate.php"} );
[/code]
This is html view
[code]
echo "";
echo "";
echo "";echo "";echo "DeptName";echo "CDate";echo "";echo "";
echo "";echo "";echo "DeptName";echo "CDate"; echo "";echo "";
echo "";
while ($row = mysql_fetch_assoc($alldeptresult))
{
?>
<?php echo $row['DeptName']; ?>
<?php echo $row['CDate']; ?>
<?php
}
echo "";
echo "";
echo "";
[/code]
This discussion has been closed.