I was wondering if it's possible to move one table row to a different table using Html, AngularJs and Javascrpit.
Here is an example:
-I have a table with tasks I have to do.
-If I check on of the rows in the "To do" table it should be removed from it and placed in the "Done Tabl" like in the image.
<!DOCTYPE html>
<html lang="en">
<head>
<title>TASKS</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div>
<h3>To do</h3>
<table class="table table-striped table-hover col-sm-4">
<thead>
<tr>
<th>Task</th>
<th>Time</th>
<th>Done</th>
</tr>
</thead>
<tbody>
<tr>
<th>Task_One</th>
<th>5 min</th>
<th><input type="checkbox" unchecked></th>
</tr>
<tr>
<th>Task_Two</th>
<th>2 min</th>
<th><input type="checkbox" unchecked></th>
</tr>
<tr>
<th>Task_Three</th>
<th>2 min</th>
<th><input type="checkbox" unchecked></th>
</tr>
</tbody>
</table>
<h3>Done</h3>
<table class="table table-striped table-hover col-sm-4">
<thead>
<tr>
<th>Task</th>
<th>Time</th>
<th>Done</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</body>
</html>
I have checked some examples but most of them are just about moving rows inside the same table using JQuery but I have to do it using Javascript.