You may want to use ajax requests to populate your table with data sourced from an API. In those cases, you can check out the following tutorials:
data function if you want to use the ajax logic oncehandler if you want to use the ajax logic several times.Generated using TypeDoc