How i use Datatables server side processing
How i use Datatables server side processing
riazqureshi
Posts: 2Questions: 2Answers: 0
This is my data, i want to populate it through data tables using server side processing, i am beginer in programing as well as on datatables. any help would be appriciated.
S.No | Date | Invoice# | Customer Name | Total Sale | Status | |
---|---|---|---|---|---|---|
<?php echo $i;?> | <?php echo $row['saleDate'];?> | <?php echo $row['saleInvoice'];?> | <?php echo $row['customerName'];?> | <?php echo $row['totalSale'];;?> | <?php if($row['status'] == 1 ){ echo '<span class="glyphicon glyphicon-ok" style="color:#69aa46;" title="Approved">'; }else{ echo ''; } ?> | $(document).ready(function(){ $("#delete<?php echo $row['saleID'];?>").on('click', function(event){ var ans = confirm('Are you sure you want to delete this Record.'); if(ans != true){ event.preventDefault(); } }); }); <?php $i++; } }else{ ?>|
No record(s) found |
This discussion has been closed.