Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have read this article here

and i have I tried to redo this article but datatable in my page was empty and was not filled by the data

any idea?

What I have tried:

redo the same as Using DataTables with Web API Part 1: Making a simple GET Request | Levelnis[^]
Posted
Updated 5-Aug-17 7:32am

1 solution

Did you see the comment at the bottom:
Quote:
the id attribute for the table markup should be "CustomerTable", not "CustomersTable

And also this comment:
Quote:
BrowserJsonFormatter class? It is implemented in the downloadable solution and the data table doesn't appear to get populated with the data without it.
 
Share this answer
 
v2
Comments
David2509 6-Aug-17 15:15pm    
i tried that but not result. the datatable still displyed but it's empty

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900