To display the all the row which is checked
To display the all the row which is checked
gautham_shetty
Posts: 3Questions: 1Answers: 0
I have developed a table with datable concept with json load data and checkbox at end of the each row in the table.
Want to display all the value for which checkbox is checked in table format.
Could you please guide here.
This discussion has been closed.
Answers
<html>
<title>Product</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
];
$(document).ready(function() {
$('#example').DataTable( {
"scrollY": "200px",
data: dataSet,
columns: [
{ title: "Name" },
{ title: "Position" },
{ title: "Office" },
{ title: "Extn." },
{ title: "Start date" },
{ title: "Salary" },
{ title: "active"}
} );
})});
</script>
<script>
$(document).ready(function() {
var table = $('#example').DataTable();
} );
</script>
<style type="text/css">
.align{
left:60%;
}
a{
display: inline;
}
</style>
<body>
<a data-role="button" data-icon="plus" data-mini="true" id="save" class="align"></a
<html>
<title>Product</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
];
$(document).ready(function() {
$('#example').DataTable( {
"scrollY": "200px",
data: dataSet,
columns: [
{ title: "Name" },
{ title: "Position" },
{ title: "Office" },
{ title: "Extn." },
{ title: "Start date" },
{ title: "Salary" },
{ title: "active"}
} );
})});
</script>
<script>
$(document).ready(function() {
var table = $('#example').DataTable();
} );
</script>
<style type="text/css">
.align{
left:60%;
}
a{
display: inline;
}
</style>
<body>
<a data-role="button" data-icon="plus" data-mini="true" id="save" class="align"></a