this.dtOptions = {
pagingType: 'full_numbers',
responsive: true,
serverSide: true,
pageLength: 10,
processing: true,
ajax: (dataTablesParameters: any, callback) => {
that.http
.post<DataTablesResponse>(this.apiURL + '/orderdata',{ tablename: 'completed_orders', columnname: 'file_stage',columnvalue: '011 Cancelled' },{ headers: this.httpOptions },dataTablesParameters, {}).subscribe(resp => {
that.persons = resp.data;
console.log('heelo',resp);
callback({
data: []
});
});
},
columns:[
{data:'clientname'}, {data:'clientfile'},
{data:'property'}, {data:'order_date'},
{data:'service_type'}, {data:'priority'},
{data:'due_date'}, {data:'prev_file_stage'},
{data:'pre_exam_prep'}, {data:'date_ready_for_exam'},
{data:'examiner'}, {data:'reviewer'},
{data:'post_exam_prep'}, {data:'production_time'},
{data:'notes'}, {data:'prod_system'},
{data:'file_stage'}, {data:'std_pricing'},
{data:'billing_code'}, {data:'bill_amount'}
]
};