With the commented code i was able call the data but when I move to the dataTable it doesn't work.
Order No
Customer name
Order Phone
Sales Date
Update
File
@*
{{item.OrderNo}}
{{item.CustomerName}}
{{item.CustomerPhone}}
{{item.OrderDate}}
*@
Vishal JoshiPosted Feb 18, 2023, 7:49 AM
Hello
The code looks good with the help of $compile jquery data table columns render events will be bound to angular functions.
There is duplicate of below code.
it should be only indise juqery data table
i.e. inside $("#dataTable15").DataTable({ }}
So just remove duplicate code and it should work fine.
Thanks
Emmmanuel FIADUFEPosted Feb 18, 2023, 12:55 PM
Thank you Vishal and Paul for your swift response,
I did as Vishal said and is working, thank you all guys
Tuhin PaulPosted Feb 17, 2023, 8:07 PM
The issue is with the commented out code block that was responsible for getting the data to be displayed in the DataTable. To fix this, you can try modifying the
GetAllSalesfunction to return the data in the required format for DataTables to display it properly.Emmmanuel FIADUFEPosted Feb 17, 2023, 2:50 PM